Skip to content

Commit

Permalink
Merge pull request #8 from ViderumGlobal/fix-coverage-travis
Browse files Browse the repository at this point in the history
Fix coverage
  • Loading branch information
ZoranPandovski authored Feb 9, 2018
2 parents 3275e4e + 33dd7f3 commit d449698
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/travis-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ echo "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" |
sudo cp ckan/ckan/config/solr/schema.xml /etc/solr/conf/schema.xml
sudo service jetty restart

nosetests --ckan --with-pylons=test.travis.ini

# with coverage use
# set--with-coverage --cover-package=ckanext.gosh --cover-inclusive --cover-erase --cover-tests
nosetests --ckan --with-pylons=test.travis.ini --with-coverage --cover-package=ckanext.c3charts --cover-inclusive --cover-erase --cover-tests

0 comments on commit d449698

Please sign in to comment.