Merge pull request #16126 from mattclay/shippable-fix

Update how shippable scripts are called.
This commit is contained in:
Matt Clay 2016-06-03 10:13:01 -07:00
commit 643a7ec01d
2 changed files with 8 additions and 1 deletions

View file

@ -27,7 +27,7 @@ matrix:
build: build:
ci: 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: integrations:
notifications: notifications:

7
test/utils/shippable/ci.sh Executable file
View file

@ -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(); }'