From 3ad834a656244a9aed2026c6071dcb76d1d7c2ab Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Sun, 9 Aug 2020 15:32:44 -0500 Subject: [PATCH] Travis Optimization:Bundle from Bash File to Use Cache (#9705) --- .travis.yml | 2 +- bin/ci-bundle | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 bin/ci-bundle diff --git a/.travis.yml b/.travis.yml index d1468c8ee..4324b254b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,7 @@ script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - bundle config set path 'vendor/bundle' - - bundle install --local --jobs=2 + - bin/ci-bundle - yarn install --frozen-lockfile - bundle exec rails db:create - bundle exec rails webpacker:compile diff --git a/bin/ci-bundle b/bin/ci-bundle new file mode 100755 index 000000000..befe2a5fb --- /dev/null +++ b/bin/ci-bundle @@ -0,0 +1,2 @@ +#!/bin/bash +bundle install --local --jobs 3