Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various .travis.yml improvements #45

Closed
wants to merge 4 commits into from

Conversation

BanzaiMan
Copy link

  1. Use language key to explicitly indicate Ruby. (While Ruby is the default on Travis CI, this may change in the future.)
  2. Send the builds to container-based infrastructure, so that…
  3. We can cache gems to speed up builds (~/.phantomjs is also included, but I believe something is cleaning up that directory before rspec).
  4. Run builds on Rubinius, but allow it to fail.

Additionally, we pin RSpec to 2.14.x.

1. Add "language" key for statistical purposes
2. Drop "bundle" from "script" section, since that will be executed
in "install".
3. Add "sudo: false" to send the builds to container-based
infrastructure
4. Because of 3, we can cache gems
Specs are not yet compatible with 3.x.
@BanzaiMan BanzaiMan mentioned this pull request Dec 9, 2014
@BanzaiMan BanzaiMan closed this Dec 28, 2015
@BanzaiMan BanzaiMan deleted the ha-feature-travis-yml branch December 28, 2015 05:42
cache:
bundler: true
directories:
- $HOME/.phantomjs

Choose a reason for hiding this comment

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

Thanks for this cache example!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants