Skip to content

Commit

Permalink
Opt in to new Travis container-based architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Feb 4, 2015
1 parent 15a045d commit 761930f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 761930f

Please sign in to comment.