Commit 69b57b18 authored by rusty1s's avatar rusty1s
Browse files

fix

parent 2a0573c5
...@@ -15,8 +15,6 @@ addons: ...@@ -15,8 +15,6 @@ addons:
- g++-4.9 - g++-4.9
before_install: before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- $CC --version
- $CXX --version
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
...@@ -25,6 +23,8 @@ install: ...@@ -25,6 +23,8 @@ install:
- pip install flake8 - pip install flake8
- pip install codecov - pip install codecov
script: script:
- $CC --version
- $CXX --version
- pycodestyle . - pycodestyle .
- flake8 . - flake8 .
- python setup.py install - python setup.py install
......
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