diff --git a/.travis.yml b/.travis.yml index b1fa940..9d62ba5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,15 @@ -sudo: true -dist: trusty +os: linux -language: python +language: python -os: - - linux +python: + - "2.7" + - "3.5" + - "3.7" env: - matrix: - - TASK=lint - - TASK=nosetests + - TASK=lint + - TASK=nosetests cache: apt: true @@ -28,11 +28,10 @@ addons: - python3-numpy - python3-scipy -python: - - "2.7" - - "3.4" +before_install: + - pip install pylint + - pylint skflow -install: - - source scripts/travis_install.sh +install: source scripts/travis_install.sh script: source scripts/run_tests.sh diff --git a/scripts/travis_install.sh b/scripts/travis_install.sh index 76ea466..9955d7e 100755 --- a/scripts/travis_install.sh +++ b/scripts/travis_install.sh @@ -19,8 +19,11 @@ case "$TASK" in "2.7") virtualenv --system-site-packages testenv ;; - "3.4") - virtualenv -p python3.4 --system-site-packages testenv + "3.5") + virtualenv -p python3.5 --system-site-packages testenv + ;; + "3.7") + virtualenv -p python3.7 --system-site-packages testenv ;; esac source testenv/bin/activate @@ -41,8 +44,11 @@ case "$TASK" in "2.7") TENSORFLOW_PACKAGE_URL="https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl" ;; - "3.4") - TENSORFLOW_PACKAGE_URL="https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0rc0-cp34-cp34m-linux_x86_64.whl" + "3.5") + TENSORFLOW_PACKAGE_URL="https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.0rc0-cp35-cp35m-linux_x86_64.whl" + ;; + "3.7") + TENSORFLOW_PACKAGE_URL="https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.13.1-cp37-cp37m-linux_x86_64.whl" ;; esac ;;