btrfs-progs/ci/images/test-build
David Sterba 06f075976e btrfs-progs: ci: rename travis/ to ci/
Rename the directory for continuous integration scripts to a more
generic name as we're going to use more than one. The base image on
travis has an old kernel. It's not possible to use a newer one and some
tests fail making the coverage unreliable.

Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-04 02:06:34 +02:00

16 lines
335 B
Bash
Executable File

#!/bin/sh
# usage: $0 [branch name] [configure parameters]
urlbase="https://github.com/kdave/btrfs-progs/archive/"
branch=${1:-devel}
url=${urlbase}${branch}.tar.gz
shift
echo "btrfs-progs build test of branch ${branch}"
cd /tmp
wget "$url" -O ${branch}.tar.gz
tar xf ${branch}.tar.gz
cd btrfs-progs-${branch}
ci/build-default "$@"