Skip to content

Commit

Permalink
ci: rewrite travis.yml because of travis-ci/travis-ci#1066 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Apr 3, 2019
1 parent 50823f8 commit 147bd92
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ notifications:
email: false
env:
matrix:
- 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.11"
- NUMPY="==1.12"
- NUMPY="==1.13"
- NUMPY="==1.14"
- NUMPY=">=1.14"
- NUMPY=">=1.14" TEST="FLAKE8"
install:
# numpy (must be installed before pyfftw, unwrap)
Expand All @@ -24,15 +24,12 @@ install:
- travis_retry pip install codecov coverage
- pip freeze
script:
- if [ "${TEST}" == "PYTEST" ]; then
coverage run --source=radontea setup.py test;
coverage report -m;
codecov;
else
flake8 radontea;
flake8 examples;
flake8 tests;
fi;
- coverage run --source=radontea setup.py test
- coverage report -m
- codecov
- flake8 radontea
- flake8 examples
- flake8 tests
deploy:
provider: pypi
user: "ci_qpi"
Expand Down

0 comments on commit 147bd92

Please sign in to comment.