Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Jun 25, 2019
1 parent 1531b37 commit ec685aa
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .travis.yml
@@ -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

0 comments on commit ec685aa

Please sign in to comment.