on master help sign in
Switch to code-cov
commitfb587f11febc1951f42f5643b1532823675c2acf authorAlexandre Flament <alex@al-f.net> dateWed 13 Sep 2017, 22:58 (9 years ago) parent6ebfdf0
4 files changed+7−6
.travis.yml+2−2 manage.sh+3−3 requirements-dev.txt+1 requirements.txt+1−1
.travis.yml+2−2
@@ -20,14 +20,14 @@ before_install:
2020install:
2121 - ./manage.sh npm_packages
2222 - ./manage.sh update_dev_packages
23− - pip install coveralls
23+ - pip install codecov
2424script:
2525 - ./manage.sh styles
2626 - ./manage.sh grunt_build
2727 - ./manage.sh tests
2828after_success:
2929 - ./manage.sh py_test_coverage
30− - coveralls
30+ - codecov
3131notifications:
3232 irc:
3333 channels:
manage.sh+3−3
@@ -73,9 +73,9 @@ unit_tests() {
7373
7474py_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
8181robot_tests() {
requirements-dev.txt+1
@@ -1,6 +1,7 @@
11babel==2.3.4
22mock==2.0.0
33nose2[coverage-plugin]
4+cov-core==1.15.0
45pep8==1.7.0
56plone.testing==5.0.0
67splinter==0.7.5
requirements.txt+1−1
@@ -7,4 +7,4 @@ pygments==2.1.3
77pyopenssl==17.2.0
88python-dateutil==2.6.1
99pyyaml==3.12
10−requests[socks]==2.14.2
10+requests[socks]==2.18.4