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
|
|
|
|
if: branch = master OR branch =~ ^release/ OR tag IS present
|
2017-09-26 02:00:08 +02:00
|
|
|
jobs:
|
2018-01-12 19:29:14 +01:00
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
- os: osx
|
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
|
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-01-24 00:56:58 +01:00
|
|
|
- ./build/travis/upload-failure-logs
|
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
|