Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Switch to code-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
dalf committed Sep 17, 2017
1 parent 6ebfdf0 commit fb587f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -20,14 +20,14 @@ before_install:
install:
- ./manage.sh npm_packages
- ./manage.sh update_dev_packages
- pip install coveralls
- pip install codecov
script:
- ./manage.sh styles
- ./manage.sh grunt_build
- ./manage.sh tests
after_success:
- ./manage.sh py_test_coverage
- coveralls
- codecov
notifications:
irc:
channels:
Expand Down
6 changes: 3 additions & 3 deletions manage.sh
Expand Up @@ -73,9 +73,9 @@ unit_tests() {

py_test_coverage() {
echo '[!] Running python test coverage'
PYTHONPATH=`pwd` python -m nose2 -C --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit"
coverage report
coverage html
PYTHONPATH=`pwd` python -m nose2 -C --log-capture --with-coverage --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit" \
&& coverage report \
&& coverage html
}

robot_tests() {
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
@@ -1,6 +1,7 @@
babel==2.3.4
mock==2.0.0
nose2[coverage-plugin]
cov-core==1.15.0
pep8==1.7.0
plone.testing==5.0.0
splinter==0.7.5
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -7,4 +7,4 @@ pygments==2.1.3
pyopenssl==17.2.0
python-dateutil==2.6.1
pyyaml==3.12
requests[socks]==2.14.2
requests[socks]==2.18.4

0 comments on commit fb587f1

Please sign in to comment.