Skip to content

Commit

Permalink
update travis for cov
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Aug 15, 2019
1 parent 051d255 commit 4c71aec
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ language: python
matrix:
include:
# use macOS since building pandas wheels takes ages on linux
- name: "MacOS py27"
os: osx
language: generic
env:
- PIP=pip2
- CIBW_BUILD="cp27-*"
- COVER="off"
# - name: "MacOS py27"
# os: osx
# language: generic
# env:
# - PIP=pip2
# - CIBW_BUILD="cp27-*"
# - COVER="off"

- name: "MacOS py36"
os: osx
Expand All @@ -31,7 +31,12 @@ script:
- |
if [[ $COVER == "on" ]]; then
rm -rf dist
python -m pip install -U setuptools
python -m pip install pytest-cov coveralls
python -m pip install -r docs/requirements.txt
python setup.py sdist
python -m pytest --cov ogs5py --cov-report term-missing -v tests/
python -m coveralls
fi
after_success:
Expand Down

0 comments on commit 4c71aec

Please sign in to comment.