rbenv-ruby-build/script/test
Mislav Marohnić 4817d20938 Keep mirror up-to-date using Travis CI
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 , references 
2013-10-24 17:44:41 +02:00

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