Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-08-25 08:14:57 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-08-25 08:14:57 +0400
commit16f6aaf5e4f1f7ddfc676907d9f95a5881f7ab29 (patch)
tree386ea69b18eb7063fd955bd62a5dbc3f0115201a /tests/travis
parent79ecbe5789a093492aca02cbdec370232fc0bda0 (diff)
Allow custom commands to be added to generated .travis.yml files and fix bug in generation where arguments in self-referential command were not appropriately surrounded by quotes.
Diffstat (limited to 'tests/travis')
-rwxr-xr-xtests/travis/autoupdate_travis_yml.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/travis/autoupdate_travis_yml.sh b/tests/travis/autoupdate_travis_yml.sh
index 826bd70097..a8abde15b9 100755
--- a/tests/travis/autoupdate_travis_yml.sh
+++ b/tests/travis/autoupdate_travis_yml.sh
@@ -21,8 +21,7 @@ fi
# check if .travis.yml is out of date. if github token is supplied we will try to auto-update,
# otherwise we just print a message and exit.
-GENERATE_TRAVIS_YML_COMMAND="$GENERATE_TRAVIS_YML_COMMAND --dump=./generated.travis.yml"
-if ! $GENERATE_TRAVIS_YML_COMMAND; then
+if ! bash -c "$GENERATE_TRAVIS_YML_COMMAND --dump=./generated.travis.yml"; then
echo "generate:travis-yml failed!"
# if building for 'latest_stable' ignore the error and continue build