mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
Opt in to new Travis container-based architecture
This commit is contained in:
parent
15a045d348
commit
761930f3ae
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user