From 6d74f43effaa7f07f167c63c507b5e3ac0c1e386 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 3 Jun 2016 09:06:15 -0700 Subject: [PATCH] Update how shippable scripts are called. --- shippable.yml | 2 +- test/utils/shippable/ci.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 test/utils/shippable/ci.sh diff --git a/shippable.yml b/shippable.yml index 657916f9976..dd79b3fbc9e 100644 --- a/shippable.yml +++ b/shippable.yml @@ -27,7 +27,7 @@ matrix: build: ci: - - test/utils/shippable/${TEST}.sh 2>&1 | gawk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }' + - test/utils/shippable/ci.sh integrations: notifications: diff --git a/test/utils/shippable/ci.sh b/test/utils/shippable/ci.sh new file mode 100755 index 00000000000..5c0f847e661 --- /dev/null +++ b/test/utils/shippable/ci.sh @@ -0,0 +1,7 @@ +#!/bin/bash -eux + +set -o pipefail + +source_root=$(python -c "from os import path; print(path.abspath(path.join(path.dirname('$0'), '../../..')))") + +"${source_root}/test/utils/shippable/${TEST}.sh" 2>&1 | gawk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }'