From 29a8cbab34acc9eb03242daaeaf83415704461b0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Oct 2022 16:28:20 -0300 Subject: Proposed solution from the Internet is to fail hard. Lets try again. --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3-70-g09d2