Commit 601b409a authored by rusty1s's avatar rusty1s
Browse files

fix

parent 69b57b18
...@@ -14,7 +14,8 @@ addons: ...@@ -14,7 +14,8 @@ addons:
- gcc-4.9 - gcc-4.9
- g++-4.9 - g++-4.9
before_install: before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - export CC="gcc-4.9"
- export CXX="g++-4.9"
install: install:
- 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 - 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
- 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 - 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: ...@@ -23,6 +24,8 @@ install:
- pip install flake8 - pip install flake8
- pip install codecov - pip install codecov
script: script:
- which $CC
- which $CXX
- $CC --version - $CC --version
- $CXX --version - $CXX --version
- pycodestyle . - pycodestyle .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment