btrfs-progs/travis-should-run-test
David Sterba 4ef5a112c9 btrfs-progs: tests: pull and build reiserfs lib inside CI
The functionality needed to support reiserfs in convert has been added
recently and is not yet available in the CI images, so we'll download
and build it there.

Signed-off-by: David Sterba <dsterba@suse.com>
2017-09-08 16:15:05 +02:00

25 lines
352 B
Bash
Executable file

#!/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