From 9e72ae3f480375e02799bb471de4089228750ec1 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 26 Jan 2020 20:28:08 +0100 Subject: [PATCH 1/5] The sudo: tag, Trusty, and Python 3.4 are all End of Life @ucalyptus --- .travis.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1fa940..6f40bbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,14 @@ -sudo: true -dist: trusty +os: linux -language: python +language: python -os: - - linux +python: + - "2.7" + - "3.8" env: - matrix: - - TASK=lint - - TASK=nosetests + - TASK=lint + - TASK=nosetests cache: apt: true @@ -28,11 +27,10 @@ addons: - python3-numpy - python3-scipy -python: - - "2.7" - - "3.4" +before_install: + - pip install pylint + - pylint . -install: - - source scripts/travis_install.sh +install: source scripts/travis_install.sh script: source scripts/run_tests.sh From 30c47fcbc493e500cd194ccb30c96a953946d717 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 26 Jan 2020 20:43:05 +0100 Subject: [PATCH 2/5] pylint skflow --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6f40bbf..6b58d41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ addons: before_install: - pip install pylint - - pylint . + - pylint skflow install: source scripts/travis_install.sh From 858a99d7fd8c687b87f2ef1bdb11df2ca4ac6d18 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 26 Jan 2020 20:49:08 +0100 Subject: [PATCH 3/5] Remove a extra \n ? --- skflow/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/skflow/__init__.py b/skflow/__init__.py index 0405a73..3ae5999 100644 --- a/skflow/__init__.py +++ b/skflow/__init__.py @@ -21,4 +21,3 @@ "Use import tensorflow.contrib.learn as skflow instead.", DeprecationWarning) except ImportError: raise ImportError("Update your Tensorflow to 0.8+ to use latest skflow.") - From 1f8e4a870ea8a3d6572feca45cd77920d85233d7 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 26 Jan 2020 21:02:56 +0100 Subject: [PATCH 4/5] travis_install.sh: Python 3.4 --> 3.5 --- scripts/travis_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/travis_install.sh b/scripts/travis_install.sh index 76ea466..82aec36 100755 --- a/scripts/travis_install.sh +++ b/scripts/travis_install.sh @@ -19,8 +19,8 @@ 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 ;; esac source testenv/bin/activate @@ -41,8 +41,8 @@ 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-0.8.0rc0-cp35-cp35m-linux_x86_64.whl" ;; esac ;; From 27053bd689f5db4d5cf2093df5c4c0220331451e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 26 Jan 2020 21:04:12 +0100 Subject: [PATCH 5/5] Travis CI: Python 3.8 --> 3.5 https://docs.travis-ci.com/user/languages/python/#travis-ci-uses-isolated-virtualenvs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6b58d41..d216837 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ language: python python: - "2.7" - - "3.8" + - "3.5" env: - TASK=lint