mirror of
https://github.com/rbenv/ruby-build.git
synced 2026-01-07 15:31:23 +01:00
Run mirror update on CI even if tests failed
If a commit introduced a new Ruby definition, we want it mirrored even if there might have been an accidental failure on CI.
This commit is contained in:
parent
e8a3cc82e3
commit
4ed38ba4bc
1 changed files with 4 additions and 1 deletions
|
|
@ -3,8 +3,11 @@ set -e
|
|||
|
||||
[ -d ./bats/bin ] && export PATH=./bats/bin:"$PATH"
|
||||
|
||||
bats -t test
|
||||
STATUS=0
|
||||
bats -t test || STATUS="$?"
|
||||
|
||||
if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then
|
||||
./script/mirror update "$TRAVIS_COMMIT_RANGE"
|
||||
fi
|
||||
|
||||
exit "$STATUS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue