Skip to content

Instantly share code, notes, and snippets.

@mbleigh

mbleigh/.travis.yml

Created Oct 30, 2014
Embed
What would you like to do?
Octopress + Travis CI + Divshot
language: ruby
rvm:
- 2.1.0
script: bundle exec rake generate
deploy:
provider: divshot
environment:
master: development
staging: staging
production: production
skip_cleanup: true
@greglgomez

This comment has been minimized.

Copy link

@greglgomez greglgomez commented Oct 31, 2014

@mbleigh, thanks for the help with this. :)

I made a slight modification for my workflow:

  • I've paired Divshot production with the Master branch and Divshot development with a "dev" branch.
  • Also because I'm using a private repo with Travis CI I can benefit from caching dependencies which really cuts down on the build time.
    Is it possible to cache the Divshot deploy dependencies as well?

Cheers,
Greg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment