aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/DataDog/zstd/travis_test_32.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/DataDog/zstd/travis_test_32.sh')
-rw-r--r--vendor/github.com/DataDog/zstd/travis_test_32.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/DataDog/zstd/travis_test_32.sh b/vendor/github.com/DataDog/zstd/travis_test_32.sh
new file mode 100644
index 000000000..d29c86c9e
--- /dev/null
+++ b/vendor/github.com/DataDog/zstd/travis_test_32.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+# Get utilities
+yum -y -q -e 0 install wget tar unzip gcc
+
+# Get Go
+wget -q https://dl.google.com/go/go1.11.1.linux-386.tar.gz
+tar -C /usr/local -xzf go1.11.1.linux-386.tar.gz
+export PATH=$PATH:/usr/local/go/bin
+
+# Get payload
+wget -q https://github.com/DataDog/zstd/files/2246767/mr.zip
+unzip mr.zip
+
+# Build and run tests
+cd zstd
+go build
+PAYLOAD=$(pwd)/mr go test -v
+PAYLOAD=$(pwd)/mr go test -bench .