forked from alphagov/govuk-prototype-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 946 Bytes
/
.travis.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
language: node_js
node_js:
- "lts/*"
- "8"
os:
- linux
- osx
- windows
jobs:
include:
# If version.txt is updated on the master branch:
# - create a new tag and push it to Github
# - update the latest-release branch
- stage: deploy
name: "Create release on GitHub 🚀"
os: linux
script: echo "Checking whether we should release..."
deploy:
- provider: script
script: ./create-release.sh
on:
branch: master
env:
# DEPLOY_KEY
- secure: qpuH/3v+wsMLy9C3bGjallB6KxFQAtDlyZf3jmX8UQ0703tIvBnZoC1h9EJXOqxZbirLPHon7g902nOuhqUfrsPQgV7XEmXMGZsp31PuK/1lkyTCG3fAdeg8wcghwZn10Gw8jYZpOfWIf2GPDL+6utIU6Aog+odcls7tHWLVT80=
# Automatic deploys are also enabled in Heroku for this app
# Every push to master will automatically deploy a new version of this app.
# Heroku will wait for CI to pass before deploying.
notifications:
email: false
sudo: false