2018-02-12 22:59:28 +00:00
|
|
|
# It may be tempting to add parens around each individual clause in this expression, but Travis then builds pushes anyway
|
2018-07-31 15:37:46 +00:00
|
|
|
if: branch = master OR branch =~ ^features/ OR branch =~ ^release/ OR tag IS present
|
2018-04-14 18:50:01 +00:00
|
|
|
matrix:
|
2018-01-12 18:29:14 +00:00
|
|
|
include:
|
2018-04-14 18:50:01 +00:00
|
|
|
- os: linux
|
2018-04-15 05:25:35 +00:00
|
|
|
env: NODE_VERSION=v8.11.1 TRAVIS_PUBLISH_PACKAGES=true
|
2018-07-25 23:55:20 +00:00
|
|
|
- os: linux
|
|
|
|
env: NODE_VERSION=v10.7
|
2018-01-12 18:29:14 +00:00
|
|
|
- os: osx
|
2018-07-25 23:55:20 +00:00
|
|
|
env: NODE_VERSION=v6.10.3
|
2017-05-24 17:29:30 +00:00
|
|
|
language: go
|
2017-09-02 19:10:28 +00:00
|
|
|
go: 1.9
|
2017-06-23 00:56:45 +00:00
|
|
|
sudo: true # give us 7.5GB and >2 bursted cores.
|
2018-01-12 18:29:14 +00:00
|
|
|
git:
|
|
|
|
depth: false
|
2017-05-24 17:29:30 +00:00
|
|
|
before_install:
|
2018-01-23 23:56:58 +00:00
|
|
|
- source ./build/travis/prepare-environment.sh
|
2018-06-18 04:42:23 +00:00
|
|
|
- if [ "${TRAVIS_SECURE_ENV_VARS:-}" = "true" ]; then source "${PULUMI_SCRIPTS}/ci/keep-failed-tests.sh"; fi
|
2017-05-24 18:03:15 +00:00
|
|
|
install:
|
2018-01-23 23:56:58 +00:00
|
|
|
- source ./build/travis/install-common-toolchain.sh
|
2017-12-20 02:11:51 +00:00
|
|
|
before_script:
|
2018-01-23 23:56:58 +00:00
|
|
|
- ./build/travis/ensure-dependencies
|
2017-06-16 16:50:56 +00:00
|
|
|
script:
|
2018-01-23 23:56:58 +00:00
|
|
|
- make travis_${TRAVIS_EVENT_TYPE}
|
2018-01-06 07:26:14 +00:00
|
|
|
after_failure:
|
2018-06-18 04:42:23 +00:00
|
|
|
- if [ "${TRAVIS_SECURE_ENV_VARS:-}" = "true" ]; then "${PULUMI_SCRIPTS}/ci/upload-failed-tests"; fi
|
2017-05-25 14:36:17 +00:00
|
|
|
notifications:
|
2017-11-15 19:42:26 +00:00
|
|
|
webhooks: https://ufci1w66n3.execute-api.us-west-2.amazonaws.com/stage/travis
|