Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Commit

Permalink
Add Cloud Foundry dependency to Travis (#221)
Browse files Browse the repository at this point in the history
Deploying from CI failed because the `cf` command was not present on the CI server.

This commit adds Cloud Foundry as a dependency per the example in the [cloud.gov docs](https://docs.cloud.gov/apps/continuous-deployment/)
  • Loading branch information
jmhooper authored and jessieay committed Sep 21, 2016
1 parent 97028e1 commit 3ea6a17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ before_script:
- bin/rake db:setup --trace
bundler_args: "--deployment --jobs=3 --retry=3 --without development"
cache: bundler
dependencies:
pre:
- wget http://go-cli.s3-website-us-east-1.amazonaws.com/releases/latest/cf-cli_amd64.deb -qO temp.deb
- sudo dpkg -i temp.deb
- cf -v
env:
global:
- DB=postgresql
Expand Down

0 comments on commit 3ea6a17

Please sign in to comment.