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.
 
 
 

35 lines
995 B

  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. echo
  10. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-1 live-2011-12-13 || err=$?
  11. echo
  12. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-2 live-2011-12-20 || err=$?
  13. echo
  14. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-3 live-2012-01-04 || err=$?
  15. echo
  16. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-4 live-2012-05-09 || err=$?
  17. echo
  18. britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data-5 live-2016-04-11 || err=$?
  19. echo
  20. if [ $err = 0 ] ; then
  21. python3-coverage report || true
  22. echo
  23. python3-coverage report -m || true
  24. echo
  25. python3-coverage xml -i || true
  26. echo
  27. bash <(curl -s https://codecov.io/bash) || true
  28. fi
  29. exit $err