Skip to content

Commit 601b409

Browse files
committed
fix
1 parent 69b57b1 commit 601b409

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ addons:
1414
- gcc-4.9
1515
- g++-4.9
1616
before_install:
17-
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
17+
- export CC="gcc-4.9"
18+
- export CXX="g++-4.9"
1819
install:
1920
- 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
2021
- 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
@@ -23,6 +24,8 @@ install:
2324
- pip install flake8
2425
- pip install codecov
2526
script:
27+
- which $CC
28+
- which $CXX
2629
- $CC --version
2730
- $CXX --version
2831
- pycodestyle .

0 commit comments

Comments
 (0)