Skip to content

Commit

Permalink
add coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
njwilson23 committed Sep 12, 2016
1 parent 26aefd4 commit 25ae3b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ before_install:
- "conda info -a"

install:
- "conda create --yes -n test-env python=$TRAVIS_PYTHON_VERSION pip numpy>=1.7 cython>=0.24 pyproj>=1.9 gdal>=2.1 libgdal>=2.1 coverage"
- "conda create --yes -n test-env python=$TRAVIS_PYTHON_VERSION pip numpy>=1.7 cython>=0.24 pyproj>=1.9 gdal>=2.1 libgdal>=2.1 coverage shapely>=1.5"
- "source activate test-env"
- "pip install -r requirements.txt"
- "pip install shapely" # used to verify __geo_interface__
- "pip install coveralls"
- "pip install . --no-deps"
- "rm -rf karta/"

script:
coverage run --source=karta tests/runtests.py
coverage run --source=karta tests/runtests.py && coverage report

after_success:
coveralls
Expand Down

0 comments on commit 25ae3b7

Please sign in to comment.