mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-07-15 23:01:43 +02:00
If a commit introduced a new Ruby definition, we want it mirrored even if there might have been an accidental failure on CI.
13 lines
234 B
Bash
Executable file
13 lines
234 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
[ -d ./bats/bin ] && export PATH=./bats/bin:"$PATH"
|
|
|
|
STATUS=0
|
|
bats -t test || STATUS="$?"
|
|
|
|
if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then
|
|
./script/mirror update "$TRAVIS_COMMIT_RANGE"
|
|
fi
|
|
|
|
exit "$STATUS"
|