From 7675770620fa1f34e8869d0918a260a3b7a2b8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Hernandez?= Date: Mon, 23 Sep 2019 21:49:00 +0200 Subject: [PATCH] Fix pip install torch cpu for travis (#1580) --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 211a900ab0..ac41b68cec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ addons: - sox before_install: # Install CPU version of PyTorch. - - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install torch==1.2.0+cpu -f https://download.pytorch.org/whl/torch_stable.html; fi + - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install torch==1.2.0 -f https://download.pytorch.org/whl/cpu/torch_stable.html; fi - pip install -r requirements.txt - pip install -r requirements.opt.txt - python setup.py install @@ -24,7 +24,8 @@ env: jobs: include: - - env: LINT_CHECK + - name: "Flake8 Lint Check" + env: LINT_CHECK install: pip install flake8 pep8-naming==0.7.0 script: flake8 - name: "Build Docs"