forked from zaclys/searxng
commit
1dffbd3390
|
@ -0,0 +1,31 @@
|
||||||
|
comment: false
|
||||||
|
coverage:
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
# basic
|
||||||
|
target: auto
|
||||||
|
threshold: null
|
||||||
|
base: auto
|
||||||
|
# advanced
|
||||||
|
branches: null
|
||||||
|
if_no_uploads: error
|
||||||
|
if_not_found: success
|
||||||
|
if_ci_failed: error
|
||||||
|
only_pulls: false
|
||||||
|
flags: null
|
||||||
|
paths: null
|
||||||
|
patch:
|
||||||
|
default:
|
||||||
|
# basic
|
||||||
|
target: auto
|
||||||
|
threshold: null
|
||||||
|
base: auto
|
||||||
|
# advanced
|
||||||
|
branches: null
|
||||||
|
if_no_uploads: error
|
||||||
|
if_not_found: success
|
||||||
|
if_ci_failed: error
|
||||||
|
only_pulls: false
|
||||||
|
flags: null
|
||||||
|
paths: null
|
|
@ -20,14 +20,14 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- ./manage.sh npm_packages
|
- ./manage.sh npm_packages
|
||||||
- ./manage.sh update_dev_packages
|
- ./manage.sh update_dev_packages
|
||||||
- pip install coveralls
|
- pip install codecov
|
||||||
script:
|
script:
|
||||||
- ./manage.sh styles
|
- ./manage.sh styles
|
||||||
- ./manage.sh grunt_build
|
- ./manage.sh grunt_build
|
||||||
- ./manage.sh tests
|
- ./manage.sh tests
|
||||||
after_success:
|
after_success:
|
||||||
- ./manage.sh py_test_coverage
|
- ./manage.sh py_test_coverage
|
||||||
- coveralls
|
- codecov
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
|
|
@ -73,9 +73,9 @@ unit_tests() {
|
||||||
|
|
||||||
py_test_coverage() {
|
py_test_coverage() {
|
||||||
echo '[!] Running python test coverage'
|
echo '[!] Running python test coverage'
|
||||||
PYTHONPATH=`pwd` python -m nose2 -C --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit"
|
PYTHONPATH=`pwd` python -m nose2 -C --log-capture --with-coverage --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit" \
|
||||||
coverage report
|
&& coverage report \
|
||||||
coverage html
|
&& coverage html
|
||||||
}
|
}
|
||||||
|
|
||||||
robot_tests() {
|
robot_tests() {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
babel==2.3.4
|
babel==2.3.4
|
||||||
mock==2.0.0
|
mock==2.0.0
|
||||||
nose2[coverage-plugin]
|
nose2[coverage-plugin]
|
||||||
|
cov-core==1.15.0
|
||||||
pep8==1.7.0
|
pep8==1.7.0
|
||||||
plone.testing==5.0.0
|
plone.testing==5.0.0
|
||||||
splinter==0.7.5
|
splinter==0.7.5
|
||||||
|
|
|
@ -7,4 +7,4 @@ pygments==2.1.3
|
||||||
pyopenssl==17.2.0
|
pyopenssl==17.2.0
|
||||||
python-dateutil==2.6.1
|
python-dateutil==2.6.1
|
||||||
pyyaml==3.12
|
pyyaml==3.12
|
||||||
requests[socks]==2.14.2
|
requests[socks]==2.18.4
|
||||||
|
|
Loading…
Reference in New Issue