diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-08-11 18:18:50 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-08-11 18:24:02 +0400 |
commit | c2a4f86902afd2e5bcdc179d86da718a8af7faba (patch) | |
tree | 7881bed51f83824187a6e7535326bdff76e7a593 /tests/travis | |
parent | aa6cfbf182e465e1e98d33b321328af7bf997aa1 (diff) |
If building for latest_stable in .travis.yml ignore errors in generate:travis-yml command.
Diffstat (limited to 'tests/travis')
-rwxr-xr-x | tests/travis/autoupdate_travis_yml.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/travis/autoupdate_travis_yml.sh b/tests/travis/autoupdate_travis_yml.sh index 119dc79c8f..2833a58b36 100755 --- a/tests/travis/autoupdate_travis_yml.sh +++ b/tests/travis/autoupdate_travis_yml.sh @@ -5,6 +5,12 @@ GENERATE_TRAVIS_YML_COMMAND="$GENERATE_TRAVIS_YML_COMMAND --dump=./generated.travis.yml" if ! $GENERATE_TRAVIS_YML_COMMAND; then echo "generate:travis-yml failed!" + + # if building for 'latest_stable' ignore the error and continue build + if [ "$TEST_AGAINST_CORE" == 'latest_stable' ]; then + exit + fi + exit 1 fi |