Skip to content

Commit

Permalink
Disable bitrotten tests and upgrade tensorflow (#78)
Browse files Browse the repository at this point in the history
* Disable bitrotten python 3.5 tests

* Switch to python 3.5

* Fix version

* Switch tf version
  • Loading branch information
nottombrown authored Feb 12, 2020
1 parent 2114a74 commit 577c403
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ sudo: required
dist: trusty
language: python
python:
- 2.7
- 3.5

env:
- TENSORFLOW_V=1.8.0

install:
# code below is taken from http://conda.pydata.org/docs/travis.html
# We do this conditionally because it saves us some downloading if the
Expand All @@ -31,12 +27,7 @@ install:
- source activate test-environment

# install TensorFlow
- >
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" && "$TENSORFLOW_V" == "1.8.0" ]]; then
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp27-none-linux_x86_64.whl;
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" && "$TENSORFLOW_V" == "1.8.0" ]]; then
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp35-cp35m-linux_x86_64.whl;
fi
- pip install tensorflow==1.14.0

# command to run tests
script:
Expand Down

0 comments on commit 577c403

Please sign in to comment.