Skip to content

Commit ce78bc8

Browse files
committed
Fix travis builds and add ccache
1 parent 887002e commit ce78bc8

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.travis.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,25 @@ python:
44
- 2.7.8
55
- 2.7
66
- 3.5
7+
- 3.6
78
- nightly
89

10+
cache:
11+
- ccache
12+
- directories:
13+
- $HOME/.ccache
14+
915
install:
10-
- export CC="gcc-4.8"
11-
- export CXX="g++-4.8"
16+
- unset CCACHE_DISABLE
17+
- export CCACHE_DIR=$HOME/.ccache
18+
- export CC="ccache gcc-4.8"
19+
- export CXX="ccache g++-4.8"
20+
- ccache --show-stats
1221
- travis_retry pip install -r requirements.txt
13-
- travis_retry pip install .
22+
- python setup.py install
1423

1524
script:
16-
- ./test/run_test.sh
25+
- OMP_NUM_THREADS=2 ./test/run_test.sh
1726

1827
addons:
1928
apt:

0 commit comments

Comments
 (0)