Commit 7ab135a9 authored by Michal Čihař's avatar Michal Čihař

Try to generate coverage report for shippable

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 32e4486b
......@@ -37,6 +37,8 @@ before_script:
- if [ -n "$DO_SELENIUM" ] ; then curl -L https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash ; fi
- echo -e "[server]\nmax_allowed_packet=64M\nwait_timeout=28800" | sudo tee -a /etc/mysql/conf.d/weblate.cnf
- sudo service mysql restart
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
# commands to run tests
script:
- timestamp.sh tests
......@@ -51,6 +53,7 @@ script:
- if [ -n "$DO_LINT" ] ; then pyflakes `find . -name '*.py' -not -name '__init__.py' -not -name 'settings_test_nose.py' -not -name 'settings_test.py' -not -name 'settings_openshift.py'` ; fi
after_script:
- timestamp.sh coveralls
- if [ -z "$DO_LINT" ] ; then coverage xml -o shippable/codecoverage/coverage.xml ; fi
- if [ -z "$DO_LINT" ] ; then coveralls ; fi
- if [ -z "$DO_LINT" ] ; then ocular --data-file ".coverage" --config-file ".coveragerc" ; fi
- timestamp.sh done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment