Skip to content

Instantly share code, notes, and snippets.

@guw
Last active June 14, 2018 10:49
Show Gist options
  • Save guw/7f694168aaabff6e3807a03604b675f8 to your computer and use it in GitHub Desktop.
Save guw/7f694168aaabff6e3807a03604b675f8 to your computer and use it in GitHub Desktop.
Travis CI with Heroku CLI
# use containers in Travis (instead of VMs)
sudo: false
# install Heroku CLI
# (based on https://github.com/travis-ci/apt-package-whitelist/issues/375)
addons:
apt:
sources:
- heroku
packages:
- heroku-toolbelt
# install additional Heroku CLI plug-ins
before_script:
- heroku plugins:install <package-name>
# more docs here:
# https://docs.travis-ci.com/user/migrating-from-legacy/#How-Do-I-Install-Custom-Software%3F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment