-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ "$TRAVIS" != "true" ] && echo "Not running on Travis!" && exit 1 | ||
|
||
curl --silent https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz | tar xz -C /tmp/ | ||
git clone https://github.com/heroku/heroku-buildpack-testrunner.git /tmp/testrunner | ||
|
||
git config --global user.email ${HEROKU_API_USER:-"buildpack@example.com"} | ||
git config --global user.name 'BuildpackTester' | ||
|
||
cat <<EOF >> ~/.ssh/config | ||
Host heroku.com | ||
StrictHostKeyChecking no | ||
CheckHostIP no | ||
UserKnownHostsFile=/dev/null | ||
Host github.com | ||
StrictHostKeyChecking no | ||
EOF | ||
|
||
cat <<EOF >> ~/.netrc | ||
machine git.heroku.com | ||
login ${HEROKU_API_USER:-"buildpack@example.com"} | ||
password ${HEROKU_API_KEY:-"password"} | ||
EOF | ||
|
||
curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://toolbelt.heroku.com/install-ubuntu.sh | sh | ||
|
||
yes | heroku keys:add |