Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

The sudo: tag, Trusty, and Python 3.4 are all End of Life #190

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't aware that this goes here without the matrix.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(matrix is EOL in favour of jobs)

- TASK=nosetests
- TASK=lint
- TASK=nosetests

cache:
apt: true
Expand All @@ -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
8 changes: 4 additions & 4 deletions scripts/travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cclauss This is causing a Missing wheel error at workflow build

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;;
esac
;;
Expand Down
1 change: 0 additions & 1 deletion skflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")