mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix bundler caching in travis & Appveyor
- Point gems to vendor/bundle in travis.yml - Point Travis cache to vendor/bundle - Point Appveyor cache to vendor/bundle
This commit is contained in:
parent
aa4384839d
commit
defd8d05c9
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@ tmp
|
||||
*.swp
|
||||
.ruby-version
|
||||
.ruby-gemset
|
||||
vendor/bundle
|
||||
|
||||
@ -2,9 +2,6 @@ language: ruby
|
||||
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
bundler: true
|
||||
|
||||
rvm:
|
||||
- 1.9.3
|
||||
- 2.0.0
|
||||
@ -12,8 +9,10 @@ rvm:
|
||||
- ruby-head
|
||||
- rbx-2
|
||||
|
||||
install:
|
||||
- bundle install --retry=3
|
||||
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
|
||||
cache:
|
||||
directories:
|
||||
- vendor/bundle
|
||||
|
||||
script:
|
||||
- env CAPTURE_STDERR=${CAPTURE_STDERR:-false} bundle exec rake ci
|
||||
|
||||
@ -11,6 +11,9 @@ environment:
|
||||
- ruby_version: "21"
|
||||
- ruby_version: "21-x64"
|
||||
|
||||
cache:
|
||||
- vendor/bundle
|
||||
|
||||
install:
|
||||
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
||||
- ruby --version
|
||||
@ -18,7 +21,7 @@ install:
|
||||
- gem install bundler
|
||||
- bundler --version
|
||||
- bundle platform
|
||||
- bundle install --retry=3
|
||||
- bundle install --path=vendor/bundle --retry=3 --jobs=3
|
||||
|
||||
test_script:
|
||||
- bundle exec rake ci
|
||||
|
||||
Loading…
Reference in New Issue
Block a user