Skip to content

Commit

Permalink
More attempts at fixing Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
smellsblue committed Jun 25, 2024
1 parent 01462e0 commit 00d4c3a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@ rvm:
- 2.7.6
services: postgresql
bundler_args: "--without production development staging review --jobs=3 --retry=3"
before_install: gem install bundler -v 1.16.1
cache: bundler
before_install:
- gem install bundler -v 2.1.4
- nvm install node
- node -v
- npm i -g yarn
- yarn
cache:
bundler: true
directories:
- node_modules
yarn: true
env:
global:
- STOCKAID_SECRET_KEY_BASE=f152b24044a9dd45656eea8a30f7d7df367497dc4fb53e563425db71c43dc0f959d4d6e62ed54811c6b925db0237a1e16ea9ce1103019ac329660afe40634ead
Expand All @@ -17,8 +26,6 @@ script:
- bundle exec rake rubocop
- psql -c 'create database stockaid_test;' -U postgres
- RAILS_ENV=test bundle exec rake db:migrate --trace
- nvm install node
- node -v
- RAILS_ENV=test bundle exec rake assets:precompile
- bundle exec rake spec
notifications:
Expand Down

0 comments on commit 00d4c3a

Please sign in to comment.