mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-06-29 23:21:01 +02:00
When new Ruby definitions get added, our current CloudFront mirror may get out of date. This adds a task to the CI process that detects added/changed package URLs and uploads them to our S3 bucket. Fixes #392, references #395
10 lines
194 B
Bash
Executable file
10 lines
194 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
[ -d ./bats/bin ] && export PATH=./bats/bin:"$PATH"
|
|
|
|
bats -t test
|
|
|
|
if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then
|
|
./script/mirror update "$TRAVIS_COMMIT_RANGE"
|
|
fi
|