Skip to content

Commit

Permalink
Multiple travis build (lanpa#353)
Browse files Browse the repository at this point in the history
run tests on both stable and nightly pytorch. Allows failure on the nightly build.
  • Loading branch information
lanpa authored Feb 10, 2019
1 parent 59bdd23 commit 8a862c8
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@ python:
- "3.6"

env:
global:
- MPLBACKEND=Agg
- CODECOV_TOKEN="26239910-fe4e-463d-aa3d-e662e9bf39ef"
- PYTORCH_VER="torch"
- PYTORCH_VER="torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html"

matrix:
allow_failures:
- env: PYTORCH_VER="torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html"

install:
- export MPLBACKEND=Agg
- export CODECOV_TOKEN="26239910-fe4e-463d-aa3d-e662e9bf39ef"

- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
Expand All @@ -35,7 +42,7 @@ install:
- pip install chainer -q
- pip install torchvision -q
- pip uninstall torch -y
- pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- pip install $PYTORCH_VER
- pip install moviepy==0.2.3.2 -q
- pip install matplotlib -q
- pip install requests -q
Expand Down

0 comments on commit 8a862c8

Please sign in to comment.