diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-14 16:28:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-14 16:28:20 -0300 |
commit | 29a8cbab34acc9eb03242daaeaf83415704461b0 (patch) | |
tree | 867ccf8794fa9150eb0f50fe5aac6a326f1e6cf4 | |
parent | 124c3f4d9cb3727509f921d8d99f103ec5120193 (diff) | |
download | serverdata-29a8cbab34acc9eb03242daaeaf83415704461b0.tar.gz serverdata-29a8cbab34acc9eb03242daaeaf83415704461b0.tar.bz2 serverdata-29a8cbab34acc9eb03242daaeaf83415704461b0.tar.xz serverdata-29a8cbab34acc9eb03242daaeaf83415704461b0.zip |
Proposed solution from the Internet is to fail hard. Lets try again.
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 6c1de830..6e3dcc5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,15 @@ branches: only: - stable +## See https://github.com/travis-ci/travis-ci/issues/7459#issuecomment-287040521 +## See https://github.com/travis-ci/travis-ci/issues/7459#issuecomment-601346831 +before_install: + # Check commit matches expected commit (because of Travis bug) + - | + if [[ "$TRAVIS_COMMIT" != "$(git rev-parse HEAD)" ]]; then + echo "Commit $(git rev-parse HEAD) doesn't match expected commit $TRAVIS_COMMIT" + fi + script: - mkdir public - make updates |