From 39ca06dbf5f378cf8c6c793888e646e94d7783c3 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Tue, 25 Apr 2017 13:03:33 +0200 Subject: [PATCH] don't run integration tests on darwin Signed-off-by: Tomas Tomecek --- .travis.yml | 2 +- hack/ci.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 hack/ci.sh diff --git a/.travis.yml b/.travis.yml index 1cbad3a..2d33498 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ matrix: rust: stable env: TARGET=x86_64-unknown-linux-gnu script: -- if [ ${TRAVIS_EVENT_TYPE} = "cron" ] ; then make unstable-environment && make test; else cargo test --verbose; fi + - hack/ci.sh before_deploy: - make release deploy: diff --git a/hack/ci.sh b/hack/ci.sh new file mode 100755 index 0000000..5d62c43 --- /dev/null +++ b/hack/ci.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# Travis CI test runner + + +if [ "${TRAVIS_EVENT_TYPE}" = "cron" -a "${TARGET}" = "x86_64-unknown-linux-gnu" ] ; then + make build-unstable-container && make test +else + cargo test --verbose +fi