travis.sh 621 B

1234567891011121314151617181920
  1. #! /bin/sh
  2. #
  3. # Travis build driver script:
  4. # - the regular CI runs, triggered by commits, run a script that builds
  5. # and installs calamares, and then runs the tests.
  6. # - the cronjob CI runs, triggered weekly, run a script that uses the
  7. # coverity tools to submit a build. This is slightly more resource-
  8. # intensive than the coverity add-on, but works on master.
  9. #
  10. D=`dirname "$0"`
  11. test -d "$D" || exit 1
  12. test -x "$D/travis-continuous.sh" || exit 1
  13. test -x "$D/travis-coverity.sh" || exit 1
  14. if test "$TRAVIS_EVENT_TYPE" = "cron" ; then
  15. exec "$D/travis-coverity.sh"
  16. else
  17. exec "$D/travis-continuous.sh"
  18. fi