Travis Optimization:Bundle from Bash File to Use Cache (#9705)

This commit is contained in:
Molly Struve 2020-08-09 15:32:44 -05:00 committed by GitHub
parent 751e9ce596
commit 3ad834a656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -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

2
bin/ci-bundle Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
bundle install --local --jobs 3