Skip to content

Commit

Permalink
Enable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmire committed Oct 21, 2014
1 parent a1d1635 commit b845451
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
language: ruby
cache: bundler
script: "bundle exec rake spec cucumber"

install: "travis_retry bundle install"

rvm:
- 1.9.2
- 1.9.3

gemfile:
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile
- gemfiles/3.2.gemfile

matrix:
allow_failures:
- rvm: rbx-19mode
Expand Down

3 comments on commit b845451

@Taher-Ghaleb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello. Travis caching feature hasn't been available for open source repositories until December 2014. Before, that, it was only available for private repositories. I am doing research so I was wondering why cache was enabled here earlier? Thank you.

@mcmire
Copy link
Collaborator Author

@mcmire mcmire commented on b845451 Mar 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Taher-Ghaleb, I don't remember exactly, but it seems to me that sudo: false was being phased out earlier than December 2014. It was possible, for instance, that when you created a build, you got a message indicating that sudo: false would no longer take effect. That may have been what prompted this change even though the feature wasn't properly released until December.

@Taher-Ghaleb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mcmire. I see your point. Thank you so much for the detailed response.

Please sign in to comment.