diff --git a/.travis.yml b/.travis.yml index af2c8f0f..4535da00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,12 @@ +os: linux language: python dist: xenial -matrix: +jobs: include: + - name: Minimum NEP 029 versions + python: 3.6 + env: NUMPY_VER=1.15 + # Versions with latest numpy - python: 3.6 - python: 3.7 - python: 3.8 @@ -14,13 +19,15 @@ addons: - gfortran before_install: + - if [ -z ${NUMPY_VER} ]; then + echo 'Using latest numpy'; + else + pip install -q numpy==$NUMPY_VER; + fi - pip install pytest-cov - pip install pytest-flake8 - pip install coveralls - pip install future - - pip install pandas - - pip install xarray - - pip install matplotlib install: - python setup.py install diff --git a/CHANGELOG.md b/CHANGELOG.md index f65a7eb8..f309642f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Stylistic updates to conform to flake8 - Testing changes - Update Travis CI to use flake8 tests as part of CI + - Update Travis CI to test for numpy versions as in NEP 029 ## [0.2.0] - 2019-12-17 - API changes