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.

travis.sh 773B

123456789101112131415161718192021
  1. #!/bin/bash -v
  2. set -euo pipefail
  3. function configureTravis {
  4. mkdir -p ~/.local
  5. curl -sSL https://github.com/SonarSource/travis-utils/tarball/v57 | tar zx --strip-components 1 -C ~/.local
  6. source ~/.local/bin/install
  7. }
  8. configureTravis
  9. export DEPLOY_PULL_REQUEST=true
  10. # When a pull request is open on the branch, then the job related
  11. # to the branch does not need to be executed and should be canceled.
  12. # It does not book slaves for nothing.
  13. # @TravisCI please provide the feature natively, like at AppVeyor or CircleCI ;-)
  14. cancel_branch_build_with_pr || exit 0
  15. regular_mvn_build_deploy_analyze -Pdist-linux,dist-windows,dist-macosx