Skip to content

Commit

Permalink
fix coverage/coveralls on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
njwilson23 committed Sep 12, 2016
1 parent 26aefd4 commit d3003e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ 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/" # clean-up to workaround coverage.py scanning karta/ dir
# while karta module is installed by pip elsewhere

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 d3003e6

Please sign in to comment.