Skip to content

Commit

Permalink
Trying out coverage... This probably won't work...
Browse files Browse the repository at this point in the history
  • Loading branch information
Miha Purg committed May 21, 2017
1 parent 374ea18 commit dc08fdf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -3,9 +3,11 @@ python:
- "2.7"
before_install:
- pip install pytest pytest-cov
- pip install coveralls
before_script:
- source ./qtools_init.sh
- cd tests
script:
- ./run_tests.sh
after_success:
- coveralls

6 changes: 6 additions & 0 deletions README.md
@@ -1,3 +1,9 @@
Travis CI: [![Travis](https://api.travis-ci.org/mpurg/qtools.svg?branch=ci_test)](https://travis-ci.org/mpurg/qtools)
Coverage: [![Coverage Status](https://coveralls.io/repos/github/mpurg/qtools/badge.svg?branch=ci_test)](https://coveralls.io/github/mpurg/qtools?branch=ci_test)




### README

#### Description
Expand Down
2 changes: 1 addition & 1 deletion tests/run_tests.sh
Expand Up @@ -4,7 +4,7 @@ source ../qtools_init.sh
echo -e "\nRunning tests of Qtools residing in \"${QTOOLS_HOME}\"\n\n"

cd Qpyl
py.test
py.test --cov Qpyl

cd ../qscripts-cli
./run_all.sh

0 comments on commit dc08fdf

Please sign in to comment.