From 5432a68997e40a91edc9497713b64bdd4a094300 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 8 Feb 2018 01:49:11 +0100 Subject: btrfs-progs: ci: replace inline shell commands with scripts Signed-off-by: David Sterba --- travis/build-dep-zstd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 travis/build-dep-zstd (limited to 'travis/build-dep-zstd') diff --git a/travis/build-dep-zstd b/travis/build-dep-zstd new file mode 100755 index 00000000..22369dd3 --- /dev/null +++ b/travis/build-dep-zstd @@ -0,0 +1,14 @@ +#!/bin/sh +# download, build and install the zstd library + +version=1.3.3 + +set -e + +mkdir tmp-zstd +cd tmp-zstd +wget https://github.com/facebook/zstd/archive/v${version}.tar.gz +tar xf v${version}.tar.gz +cd zstd-${version} +make +sudo make install PREFIX=/usr -- cgit v1.2.3