diff --git a/.travis.yml b/.travis.yml index b1fa940..d216837 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.5" 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 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..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 ;; 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.") -