faraday/.travis.yml
Mislav Marohnić 03d92dd203 Cache Bundler dependencies on Travis CI
- Even after the cache is restored, `bundle install` still needs to hit
  RubyGems.org because there is no Gemfile.lock. There doesn't seem to
  be a way to tell it that everything it needs is right there in the
  `./bundle` directory.

- Can't use `--standalone` due to bundler/bundler#2851

- It's not necessary to manually update RubyGems and Bundler anymore.
2014-02-11 12:12:29 +01:00

36 lines
841 B
YAML

install: script/cached-bundle install --path ./bundle --without development -j 3 -r 3
script: bundle exec script/test
language: ruby
matrix:
allow_failures:
# "A fatal error has been detected by the Java Runtime Environment:
# Internal Error (sharedRuntime.cpp:843)"
- rvm: jruby-18mode
- rvm: jruby-19mode
- rvm: jruby-head
# random crashes
- rvm: rbx
fast_finish: true
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx
env:
matrix:
- SSL=no
- SSL=yes
global:
- AMAZON_S3_BUCKET=ci-cache
- AMAZON_ACCESS_KEY_ID=AKIAJQCVTDEWQHRPBPGQ
- secure: "fgk+vBuCp9GW2AlNAcWy5Axl+UEjXTTCwZa6boa5lvg6yBaBKHxqT4XH31U5My3SxJEaQpPDNE/ObHv8InV9DOP5ZI7c8s3cVrBx5a8LZSd25UZBozUHxMeZmFGlgc3syYkLjoeAE+4YmhmTnuKncb0xhke90wJw5T4Z5+GPmzI="