Skip to content

Commit d38266b

Browse files
committed
Retry if rubygems misbehaves: it's probably just the network
1 parent 5ea8e52 commit d38266b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ addons:
1818
bundler_args: --without test --jobs 3 --retry 3
1919
before_install:
2020
- "rm ${BUNDLE_GEMFILE}.lock"
21-
- "gem update --system"
22-
- "gem update bundler"
21+
- "travis_retry gem update --system"
22+
- "travis_retry gem update bundler"
2323
- "[ -f /tmp/beanstalkd-1.10/Makefile ] || (curl -L https://github.com/kr/beanstalkd/archive/v1.10.tar.gz | tar xz -C /tmp)"
2424
- "pushd /tmp/beanstalkd-1.10 && make && (./beanstalkd &); popd"
2525
- "[[ -z $encrypted_8a915ebdd931_key && -z $encrypted_8a915ebdd931_iv ]] || openssl aes-256-cbc -K $encrypted_8a915ebdd931_key -iv $encrypted_8a915ebdd931_iv -in activestorage/test/service/configurations.yml.enc -out activestorage/test/service/configurations.yml -d"

0 commit comments

Comments
 (0)