tests.sh 316 字节
Newer Older
S
update  
superjom 已提交
1 2 3
#!/bin/bash
set -ex

S
up  
superjom 已提交
4
sudo pip install numpy
S
up  
superjom 已提交
5
#sudo apt-get install --only-upgrade cmake -y
S
update  
superjom 已提交
6 7 8 9 10 11
mkdir -p build
cd build
cmake ..
make
make test

S
superjom 已提交
12 13
#if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./travis/run_on_pull_requests; fi
#if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./travis/run_on_non_pull_requests; fi