Skip to content

Commit fb587f1

Browse files
committed
Switch to code-cov
1 parent 6ebfdf0 commit fb587f1

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ before_install:
2020
install:
2121
- ./manage.sh npm_packages
2222
- ./manage.sh update_dev_packages
23-
- pip install coveralls
23+
- pip install codecov
2424
script:
2525
- ./manage.sh styles
2626
- ./manage.sh grunt_build
2727
- ./manage.sh tests
2828
after_success:
2929
- ./manage.sh py_test_coverage
30-
- coveralls
30+
- codecov
3131
notifications:
3232
irc:
3333
channels:

manage.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ unit_tests() {
7373

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

8181
robot_tests() {

requirements-dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
babel==2.3.4
22
mock==2.0.0
33
nose2[coverage-plugin]
4+
cov-core==1.15.0
45
pep8==1.7.0
56
plone.testing==5.0.0
67
splinter==0.7.5

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pygments==2.1.3
77
pyopenssl==17.2.0
88
python-dateutil==2.6.1
99
pyyaml==3.12
10-
requests[socks]==2.14.2
10+
requests[socks]==2.18.4

0 commit comments

Comments
 (0)