Devuan deployment of britney2
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.
 
 
 

38 lines
1.1 KiB

  1. #!/bin/bash
  2. set -e
  3. err=0
  4. nosetests3 -v --with-coverage || err=$?
  5. echo
  6. echo
  7. britney2-tests/bin/runtests ./ci/britney-coverage.sh britney2-tests/t test-out || err=$?
  8. echo
  9. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-1 live-2011-12-13 || err=$?
  10. echo
  11. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-2 live-2011-12-20 || err=$?
  12. echo
  13. if [ -n "$CI" ] ; then
  14. echo skipping live-2012-01-04 to prevent time out on Travis of the whole test suite
  15. else
  16. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-3 live-2012-01-04 || err=$?
  17. fi
  18. echo
  19. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-4 live-2012-05-09 || err=$?
  20. echo
  21. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-5 live-2016-04-11 || err=$?
  22. echo
  23. if [ $err = 0 ] ; then
  24. python3-coverage report || true
  25. echo
  26. python3-coverage report -m || true
  27. echo
  28. python3-coverage xml -i || true
  29. echo
  30. mv .coverage shared
  31. fi
  32. exit $err