diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-10-18 13:15:59 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-10-18 13:15:59 +0100 |
commit | 74d288e05c2d0cb97186f51049813b3e5b5bb0cd (patch) | |
tree | 4fc213398dc89e053d53ff7d42102942470e9cb5 /travis/should-run-test | |
parent | 569a646293cd782de7665b6158514f3b48d229d3 (diff) |
New upstream release.
Diffstat (limited to 'travis/should-run-test')
-rwxr-xr-x | travis/should-run-test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/travis/should-run-test b/travis/should-run-test new file mode 100755 index 00000000..f711615c --- /dev/null +++ b/travis/should-run-test @@ -0,0 +1,24 @@ +#!/bin/sh + +if [ -z "$TRAVIS_BRANCH" ] ; then + # no branch? run anyway + exit 0 +fi + +# no tests +if [ "$TRAVIS_BRANCH" = 'coverity_scan' ]; then + exit 1 +fi + +# quick tests +if [ "$TRAVIS_BRANCH" = 'devel' -o "$TRAVIS_BRANCH" = 'master' ]; then + exit 0 +fi + +# all tests +if [ "$TRAVIS_BRANCH" = 'release-test' ]; then + exit 0 +fi + +# branch not recognized +exit 1 |