Skip to content

Commit d2ee152

Browse files
committed
install torch via pip
1 parent ed0559e commit d2ee152

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ matrix:
77
- python: 3.5
88
- python: 3.6
99
install:
10+
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install --quiet http://download.pytorch.org/whl/cpu/torch-0.3.1-cp27-cp27mu-linux_x86_64.whl; fi
11+
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install --quiet http://download.pytorch.org/whl/cpu/torch-0.3.1-cp35-cp35m-linux_x86_64.whl; fi
12+
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install --quiet http://download.pytorch.org/whl/cpu/torch-0.3.1-cp36-cp36m-linux_x86_64.whl; fi
1013
- pip install pycodestyle
1114
- pip install flake8
1215
- pip install codecov
13-
- pip install torch
1416
- pip install cffi
1517
script:
1618
- pycodestyle .

0 commit comments

Comments
 (0)