Merge pull request #1341 from johnhamelink/fix-travis

Fix bundler caching in travis & Appveyor
This commit is contained in:
Benjamin Fleischer 2015-11-24 11:25:41 -06:00
commit 5d0cc5990a
3 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ tmp
*.swp
.ruby-version
.ruby-gemset
vendor/bundle

View File

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

View File

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