Skip to content

Commit 85a5f4b

Browse files
authored
Cosmetic change : rename the travis iris-test-version options (#234)
* Rename Iris test-version options, and enable all to check action. * Review changes.
1 parent 03d60a9 commit 85a5f4b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ dist: xenial
33

44
env:
55
matrix:
6-
- PYTHON_VERSION=36 LIMIT_TO_RELEASED_IRIS=false
7-
- PYTHON_VERSION=37 LIMIT_TO_RELEASED_IRIS=false
8-
# - PYTHON_VERSION=36 LIMIT_TO_RELEASED_IRIS=true
9-
# - PYTHON_VERSION=37 LIMIT_TO_RELEASED_IRIS=true
6+
- PYTHON_VERSION=36 IRIS_SOURCE=master
7+
- PYTHON_VERSION=37 IRIS_SOURCE=master
8+
- PYTHON_VERSION=36 IRIS_SOURCE=release
9+
- PYTHON_VERSION=37 IRIS_SOURCE=release
1010

1111
install:
1212
# Download iris-test-data
@@ -42,10 +42,10 @@ install:
4242
export ENV_NAME="iris-grib-dev";
4343
export ENV_FILE="${TRAVIS_BUILD_DIR}/requirements/ci/py${PYTHON_VERSION}.yml";
4444
45-
# Optionally download latest Iris from repo,
45+
# Optionally download latest Iris master, from the github repo,
4646
# and replace the Iris dependency with Iris' underlying dependencies.
4747
- >
48-
if [[ "${LIMIT_TO_RELEASED_IRIS}" == false ]]; then
48+
if [[ "${IRIS_SOURCE}" == "master" ]]; then
4949
IRIS_REF="https://github.com/SciTools/iris/archive/master.zip";
5050
export IRIS_LOCATION="${HOME}/iris";
5151
mkdir ${IRIS_LOCATION};
@@ -79,9 +79,9 @@ install:
7979
# --------------
8080
- echo "Configuring Iris";
8181

82-
# Optionally install latest Iris from downloaded source.
82+
# Optionally install latest Iris master, from downloaded source.
8383
- >
84-
if [[ "${LIMIT_TO_RELEASED_IRIS}" == false ]]; then
84+
if [[ "${IRIS_SOURCE}" == "master" ]]; then
8585
cd ${IRIS_LOCATION}/iris-master;
8686
python setup.py --quiet install;
8787
fi;

0 commit comments

Comments
 (0)