Btrfs progs v4.17.1
[btrfs-progs-unstable/devel.git] / travis / should-run-test
blobf711615c3b914dbfa8f64eea6980cc306f1eccc0
1 #!/bin/sh
3 if [ -z "$TRAVIS_BRANCH" ] ; then
4 # no branch? run anyway
5 exit 0
6 fi
8 # no tests
9 if [ "$TRAVIS_BRANCH" = 'coverity_scan' ]; then
10 exit 1
13 # quick tests
14 if [ "$TRAVIS_BRANCH" = 'devel' -o "$TRAVIS_BRANCH" = 'master' ]; then
15 exit 0
18 # all tests
19 if [ "$TRAVIS_BRANCH" = 'release-test' ]; then
20 exit 0
23 # branch not recognized
24 exit 1