Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
# It may be tempting to add parens around each individual clause in this expression, but Travis then builds pushes anyway | ||
if: branch = master OR branch =~ ^features/ OR branch =~ ^release/ OR tag IS present | ||
language: go | ||
go: 1.12.1 | ||
go: 1.12.x | ||
sudo: true # give us 7.5GB and >2 bursted cores. | ||
git: | ||
depth: false | ||
depth: false | ||
before_install: | ||
- git clone https://github.com/pulumi/scripts ${GOPATH}/src/github.com/pulumi/scripts | ||
- source ${GOPATH}/src/github.com/pulumi/scripts/ci/prepare-environment.sh | ||
- source ${PULUMI_SCRIPTS}/ci/keep-failed-tests.sh | ||
- git clone https://github.com/pulumi/scripts ${GOPATH}/src/github.com/pulumi/scripts | ||
- source ${GOPATH}/src/github.com/pulumi/scripts/ci/prepare-environment.sh | ||
- source ${PULUMI_SCRIPTS}/ci/keep-failed-tests.sh | ||
install: | ||
- source ${PULUMI_SCRIPTS}/ci/install-common-toolchain.sh | ||
- curl -L https://get.pulumi.com/ | bash | ||
- export PATH=$HOME/.pulumi/bin:$PATH | ||
- source ${PULUMI_SCRIPTS}/ci/install-common-toolchain.sh | ||
# Install Pulumi | ||
- curl -L https://get.pulumi.com/ | bash | ||
- export PATH=$HOME/.pulumi/bin:$PATH | ||
before_script: | ||
- ${PULUMI_SCRIPTS}/ci/ensure-dependencies | ||
- ${PULUMI_SCRIPTS}/ci/ensure-dependencies | ||
script: | ||
- make travis_${TRAVIS_EVENT_TYPE} | ||
- make travis_${TRAVIS_EVENT_TYPE} | ||
after_failure: | ||
- ${PULUMI_SCRIPTS}/ci/upload-failed-tests | ||
- ${PULUMI_SCRIPTS}/ci/upload-failed-tests | ||
notifications: | ||
webhooks: https://zlmgkhmhjc.execute-api.us-west-2.amazonaws.com/stage/travis | ||
webhooks: https://zlmgkhmhjc.execute-api.us-west-2.amazonaws.com/stage/travis |