Opt in to new Travis container-based architecture

This commit is contained in:
Mislav Marohnić 2015-02-03 21:40:55 -08:00
parent 15a045d348
commit 761930f3ae
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
install: script/cached-bundle install --path ./bundle --without development -j 3 -r 3
script: bundle exec script/test
sudo: false
language: ruby
script: bundle exec script/test
bundler_args: --without development --path vendor/bundle --jobs=3 --retry=3
cache: bundler
rvm:
- 1.8.7

View File

@ -151,7 +151,7 @@ run_test_files() {
check_warnings() {
# Display Ruby warnings from this project's source files. Abort if any were found.
num="$(grep -F "$PWD" "$warnings" | grep -v "${PWD}/bundle" | sort | uniq -c | sort -rn | tee /dev/stderr | wc -l)"
num="$(grep -F "$PWD" "$warnings" | grep -v "${PWD}/vendor/bundle" | sort | uniq -c | sort -rn | tee /dev/stderr | wc -l)"
rm -f "$warnings"
if [ "$num" -gt 0 ]; then
echo "FAILED: this test suite doesn't tolerate Ruby syntax warnings!" >&2