diff --git a/.semaphore.sh b/.semaphore.sh new file mode 100755 index 00000000000..48e5d8704da --- /dev/null +++ b/.semaphore.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +TEST_SUFFIX=$(date +%s | base64 | head -c 15) + +TEST_OPTS="RELEASE_TEST=y INTEGRATION=y PASSES='build unit release integration_e2e functional'" +if [ "$TEST_ARCH" == "386" ]; then + TEST_OPTS="GOARCH=386 PASSES='build unit integration_e2e'" +fi + +docker run \ + --rm \ + --volume=`pwd`:/go/src/github.com/coreos/etcd \ + gcr.io/etcd-development/etcd-test:go1.8.5 \ + /bin/bash -c "${TEST_OPTS} ./test 2>&1 | tee test-${TEST_SUFFIX}.log" + +! grep FAIL -A10 -B50 test-${TEST_SUFFIX}.log diff --git a/.travis.yml b/.travis.yml index 4f5e013c732..00421c25314 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ go_import_path: github.com/coreos/etcd sudo: false go: - - 1.8.3 + - 1.8.5 notifications: on_success: never