README.md in heroku_hatchet-4.0.5 vs README.md in heroku_hatchet-4.0.6

- old
+ new

@@ -330,18 +330,34 @@ ``` $ travis encrypt HEROKU_API_KEY=<token> --add ``` -You'll also need these specified in your travis.yml: +You'll also need to download the Heroku CLI. Add the executable `etc/ci_setup.sh` to your project, with contents: ``` -addons: - apt: - sources: - - heroku - packages: - - heroku-toolbelt +#!/usr/bin/env bash + +sudo apt-get -qq update +sudo apt-get install software-properties-common +curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://cli-assets.heroku.com/install-ubuntu.sh | sh +``` + +Be sure to change the file permissions with `chmod u+x etc/ci_setup.sh` so that the file is executable. + +To run this and download the Heroku cli, you will need to add this step before your install or script depending on your Travis setup process. + +``` +before_script: + - bash etc/ci_setup.sh +``` + +If your Travis tests are containerized, you may need sudo to complete this successfully. In that case, you'll need to add the following: + +``` +sudo: required +before_install: + - sudo bash etc/ci_setup.sh ``` ## Extra App Commands ```