forked from alphagov/tdt-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtravis.yml
More file actions
25 lines (21 loc) · 662 Bytes
/
travis.yml
File metadata and controls
25 lines (21 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
env:
global:
- CF_API="https://api.london.cloud.service.gov.uk"
- CF_ORG="gds-tech-writers"
- CF_SPACE="sandbox"
- CF_USERNAME="ben.ahmady@digital.cabinet-office.gov.uk"
branches:
only:
- master
before_deploy:
- export PATH=$HOME:$PATH
# Install CloudFoundry
- travis_retry curl -L -o $HOME/cf.tgz "https://cli.run.pivotal.io/stable?release=linux64-binary&source=github"
- tar xzvf $HOME/cf.tgz -C $HOME
# Install Autopilot plugin for zero-downtime-push
- travis_retry cf install-plugin autopilot -f -r CF-Community
script: bundle exec middleman build
deploy:
- provider: script
script: ./script/deploy
skip_cleanup: true