Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit ef3219a

Browse files
committed
Run commands from the bundle and enable cache
1 parent 28f9b3f commit ef3219a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
dist: trusty
22
language: ruby
3+
cache: bundler
34
rvm:
45
- 2.4.4
56
- 2.5.1
@@ -20,10 +21,9 @@ before_script:
2021
- bundle install --jobs=3 --retry=3
2122
- bundle exec rails db:setup
2223
- cd ../../
23-
- if [[ "$DRIVER" == "google-chrome" ]]; then chromedriver-update; fi
24+
- if [[ "$DRIVER" == "google-chrome" ]]; then bundle exec chromedriver-update; fi
2425
- if [[ "$DRIVER" == "google-chrome" ]]; then ls -lR ~/.chromedriver-helper/; fi
25-
- if [[ "$DRIVER" == "google-chrome" ]]; then chromedriver --version; fi
26+
- if [[ "$DRIVER" == "google-chrome" ]]; then bundle exec chromedriver --version; fi
2627
- if [[ "$DRIVER" == "google-chrome" ]]; then google-chrome --version; fi
27-
- if [[ "$DRIVER" == "google-chrome" ]]; then which chromedriver; fi
2828
- if [[ "$DRIVER" == "google-chrome" ]]; then which google-chrome; fi
2929
script: bundle exec rspec

0 commit comments

Comments
 (0)