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 7bbca21
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ 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"
- "pip install -e . --no-deps"

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 7bbca21

Please sign in to comment.