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