Skip to content

Commit 2a0573c

Browse files
committed
gcc-4.9
1 parent 9c8ad52 commit 2a0573c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ matrix:
66
- python: 2.7
77
- python: 3.5
88
- python: 3.6
9+
addons:
10+
apt:
11+
sources:
12+
- ubuntu-toolchain-r-test
13+
packages:
14+
- gcc-4.9
15+
- g++-4.9
16+
before_install:
17+
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
18+
- $CC --version
19+
- $CXX --version
920
install:
1021
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp27-cp27mu-linux_x86_64.whl; fi
1122
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl; fi

0 commit comments

Comments
 (0)