forked from pulumi/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1.19 KB
/
.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
language: generic
dist: xenial
sudo: true
branches:
only:
- master
before_install:
# Download and install required tools.
# Limit to one push build per branch.
- go get github.com/pulumi/travisqueue
- if [ ! -z ${TRAVIS_TOKEN} ]; then travisqueue start; fi
# Install assume-role tool for use when deploying
- go get -u github.com/remind101/assume-role
# AWS CLI
- pip install --upgrade --user awscli
# pulumi
- curl -fsSL https://get.pulumi.com/ | bash -s
- export PATH=$PATH:$HOME/.pulumi/bin
# yarn
- npm i -g yarn
# hugo
# Note: We deliberately pin to Hugo v0.55.4 as more recent versions include a newer version of the Blackfriday
# markdown renderer which regresses rendering of fenced code in lists.
# Tracking issue: https://github.com/pulumi/docs/issues/1091
- wget https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_extended_0.55.4_Linux-64bit.deb
- sudo dpkg -i hugo_extended_0.55.4_Linux-64bit.deb
script:
- echo "TRAVIS_EVENT_TYPE=${TRAVIS_EVENT_TYPE}"
- make travis_${TRAVIS_EVENT_TYPE}
after_script:
# Maybe kick off next build.
- if [ ! -z ${TRAVIS_TOKEN} ]; then travisqueue finish; fi
notifications:
webhooks: https://zlmgkhmhjc.execute-api.us-west-2.amazonaws.com/stage/travis