forked from pulumi/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 1.06 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
if: branch = master
language: go
go: 1.9
sudo: true # give us 7.5GB and >2 bursted cores.
before_install:
# Dep for Go dependency management.
- go get -v github.com/golang/dep/cmd/dep
# Node.js 6.10.2 for all JavaScript code (to match AWS Lambda).
- nvm install v8.10
# Install Yarn as per https://yarnpkg.com/lang/en/docs/install-ci/#travis-tab.
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.2.1
- export PATH=$HOME/.yarn/bin:$PATH
# Install Pulumi
- curl -L https://get.pulumi.com/ | bash -s -- --version 0.15.2
- export PATH=$HOME/.pulumi/bin:$PATH
# Install Helm
- curl -o- -L https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
- helm init -c
- helm repo add bitnami https://charts.bitnami.com/bitnami
install:
# Now restore all dependencies, after cloning, to rebuild vendor appropriately.
- cd misc/test
- dep ensure -v
script:
- go test . --timeout 1h -v -short
notifications:
webhooks: https://ufci1w66n3.execute-api.us-west-2.amazonaws.com/stage/travis