You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
britney2-ubuntu/ci/run-everything-and-upload-t...

39 lines
1.1 KiB

#!/bin/bash
set -e
err=0
nosetests3 -v --with-coverage || err=$?
echo
echo
britney2-tests/bin/runtests ./ci/britney-coverage.sh britney2-tests/t test-out || err=$?
echo
echo
if [ -n "$CI" ] ; then
echo skipping live-2011-12-13 to prevent time out on Travis of the whole test suite
else
britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-1 live-2011-12-13 || err=$?
fi
echo
britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-2 live-2011-12-20 || err=$?
echo
britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-3 live-2012-01-04 || err=$?
echo
britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-4 live-2012-05-09 || err=$?
echo
britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-5 live-2016-04-11 || err=$?
echo
if [ $err = 0 ] ; then
python3-coverage report || true
echo
python3-coverage report -m || true
echo
python3-coverage xml -i || true
echo
bash <(curl -s https://codecov.io/bash) || true
fi
exit $err