2 Commits

Author SHA1 Message Date
Mislav Marohnić
62a5781b92 Only try to cache dependencies when Amazon secret is available
Fixes the case when someone forks the repo and runs Travis on their own.
Also, allows the use-case of restoring dependencies only without
necessarily trying to cache them.
2014-02-12 00:51:23 +01:00
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