Update travis.yml to use nightly pytorch builds
@@ -2,20 +2,13 @@ language: python
branches:
only:
- - master
+ - beta
python:
- - "2.7"
- "3.6"
-env:
- - PYTORCH_VERSION=4
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;
- else
- pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl;
- fi
+ - pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- python setup.py build develop
script:
