pulumi/.travis.yml
CyrusNajmabadi 5b244dbdb1
Use a class for Output serialization to ensure that .apply exists on it. (#1040)
Also, rename/cleanup a bunch of serialization code.

Also, generate better environment names in the serialized closure code. Thsi code should be much easier to make sense of as hte names will better track to the original names in the user code.

Also, dedupe simple non-capturing functions. This helps ensure we don't spit out N copies of __awaiter (one per file it is declared in).
2018-03-12 16:27:00 -07:00

25 lines
772 B
YAML

# 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 =~ ^release/ OR tag IS present
jobs:
include:
- os: linux
- os: osx
language: go
go: 1.9
sudo: true # give us 7.5GB and >2 bursted cores.
git:
depth: false
before_install:
- source ./build/travis/prepare-environment.sh
- . "${PULUMI_HOME}/scripts/keep-failed-tests.sh"
install:
- source ./build/travis/install-common-toolchain.sh
before_script:
- ./build/travis/ensure-dependencies
script:
- make travis_${TRAVIS_EVENT_TYPE}
after_failure:
- "${PULUMI_HOME}/scripts/upload-failed-tests"
notifications:
webhooks: https://ufci1w66n3.execute-api.us-west-2.amazonaws.com/stage/travis