From 8e99b798268addb536700696d4468882d4aa0c8f Mon Sep 17 00:00:00 2001 From: Paul Geraghty Date: Mon, 9 Mar 2020 18:09:08 +0100 Subject: [PATCH] Prevent bundle issues with Travis CI --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0bc1717..b7b45fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,10 @@ script: -e CC_TEST_REPORTER_ID -it -v $PWD:/app pgeraghty/ansible-ruby:$RUBY-$ANSIBLE_VERSION /bin/sh -c "cd /app && bundle install --jobs=3 --retry=3 && ./cc-test-reporter before-build && - CI=true bundle exec rake" + CI=true bundle exec rake && rm Gemfile.lock" - > RUBY=2.6.5 && docker run --rm -it -v $PWD:/app pgeraghty/ansible-ruby:$RUBY-$ANSIBLE_VERSION - /bin/sh -c "cd /app && bundle install --jobs=3 --retry=3 && bundle exec rake" + /bin/sh -c "cp -r /app /tmp/app && cd /tmp/app && bundle install --jobs=3 --retry=3 && bundle exec rake" - > RUBY=2.5.7 && docker run --rm -it -v $PWD:/app pgeraghty/ansible-ruby:$RUBY-$ANSIBLE_VERSION /bin/sh -c "cd /app && bundle install --jobs=3 --retry=3 && bundle exec rake"