Commit c4589f1d authored by Yuxin Wu's avatar Yuxin Wu

fix travis build of 'release'. TF nightly packages are still 12.1

parent 9b85e7a1
......@@ -15,10 +15,10 @@ matrix:
include:
- os: linux
python: 2.7
env: TF_VERSION=0.12.1 TF_TYPE=release
env: TF_VERSION=1.0.0rc0 TF_TYPE=release
- os: linux
python: 3.5
env: TF_VERSION=0.12.1 TF_TYPE=release
env: TF_VERSION=1.0.0rc0 TF_TYPE=release
- os: linux
python: 2.7
env: TF_VERSION=0.12.1 TF_TYPE=nightly
......
......@@ -10,6 +10,9 @@ if [ $TF_TYPE == "release" ]; then
if [[ $TRAVIS_PYTHON_VERSION == 3.5* ]]; then
TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-${TF_VERSION}-cp35-cp35m-linux_x86_64.whl
fi
if [[ $TRAVIS_PYTHON_VERSION == 3.6* ]]; then
TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-${TF_VERSION}-cp36-cp36m-linux_x86_64.whl
fi
fi
if [ $TF_TYPE == "nightly" ]; then
if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment