Skip to content

Commit

Permalink
ci: always test latest numpy version and always set TEST environment …
Browse files Browse the repository at this point in the history
…variable
  • Loading branch information
paulmueller committed Apr 3, 2018
1 parent a0c5eb7 commit a818d9a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ notifications:
email: false
env:
matrix:
- NUMPY="1.11"
- NUMPY="1.12"
- NUMPY="1.13"
- NUMPY="1.14"
- TEST="FLAKE8"
- NUMPY="==1.11" TEST="PYTEST"
- NUMPY="==1.12" TEST="PYTEST"
- NUMPY="==1.13" TEST="PYTEST"
- NUMPY="==1.14" TEST="PYTEST"
- NUMPY=">=1.14" TEST="PYTEST"
- NUMPY=">=1.14" TEST="FLAKE8"
install:
# numpy (must be installed before pyfftw, unwrap)
- travis_retry pip install "numpy==$NUMPY"
- travis_retry pip install "numpy${NUMPY}"
# everything else
- "travis_retry pip install . --only-binary=:all:"
- travis_retry pip install coverage coveralls
Expand All @@ -24,7 +25,7 @@ install:
- pip freeze
script:
- set -ev
- if [ "${TEST}" != "FLAKE8" ]; then
- if [ "${TEST}" == "PYTEST" ]; then
coverage run --source=radontea setup.py test;
coverage report -m;
codecov;
Expand Down

0 comments on commit a818d9a

Please sign in to comment.