Skip to content

Commit

Permalink
Cosmetic change : rename the travis iris-test-version options (#234)
Browse files Browse the repository at this point in the history
* Rename Iris test-version options, and enable all to check action.

* Review changes.
  • Loading branch information
pp-mo committed Oct 12, 2020
1 parent 03d60a9 commit 85a5f4b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ dist: xenial

env:
matrix:
- PYTHON_VERSION=36 LIMIT_TO_RELEASED_IRIS=false
- PYTHON_VERSION=37 LIMIT_TO_RELEASED_IRIS=false
# - PYTHON_VERSION=36 LIMIT_TO_RELEASED_IRIS=true
# - PYTHON_VERSION=37 LIMIT_TO_RELEASED_IRIS=true
- PYTHON_VERSION=36 IRIS_SOURCE=master
- PYTHON_VERSION=37 IRIS_SOURCE=master
- PYTHON_VERSION=36 IRIS_SOURCE=release
- PYTHON_VERSION=37 IRIS_SOURCE=release

install:
# Download iris-test-data
Expand Down Expand Up @@ -42,10 +42,10 @@ install:
export ENV_NAME="iris-grib-dev";
export ENV_FILE="${TRAVIS_BUILD_DIR}/requirements/ci/py${PYTHON_VERSION}.yml";
# Optionally download latest Iris from repo,
# Optionally download latest Iris master, from the github repo,
# and replace the Iris dependency with Iris' underlying dependencies.
- >
if [[ "${LIMIT_TO_RELEASED_IRIS}" == false ]]; then
if [[ "${IRIS_SOURCE}" == "master" ]]; then
IRIS_REF="https://github.com/SciTools/iris/archive/master.zip";
export IRIS_LOCATION="${HOME}/iris";
mkdir ${IRIS_LOCATION};
Expand Down Expand Up @@ -79,9 +79,9 @@ install:
# --------------
- echo "Configuring Iris";

# Optionally install latest Iris from downloaded source.
# Optionally install latest Iris master, from downloaded source.
- >
if [[ "${LIMIT_TO_RELEASED_IRIS}" == false ]]; then
if [[ "${IRIS_SOURCE}" == "master" ]]; then
cd ${IRIS_LOCATION}/iris-master;
python setup.py --quiet install;
fi;
Expand Down

0 comments on commit 85a5f4b

Please sign in to comment.