This causes a notification for each entry in the matrix which is now too many emails. When travis adds and option to send just one notification, but to still allow you to fast finish, then please lmk :)
40 lines
817 B
YAML
40 lines
817 B
YAML
language: go
|
|
os:
|
|
- linux
|
|
- osx
|
|
go:
|
|
- 1.8.x
|
|
- 1.9.x
|
|
- tip
|
|
go_import_path: github.com/purpleidea/mgmt
|
|
sudo: true
|
|
dist: trusty
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt update; fi
|
|
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
|
|
- git fetch --unshallow
|
|
install: 'make deps'
|
|
script: 'make test'
|
|
matrix:
|
|
fast_finish: false
|
|
allow_failures:
|
|
- go: tip
|
|
- go: 1.9.x
|
|
- os: osx
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.net#mgmtconfig"
|
|
template:
|
|
- "%{repository} (%{commit}: %{author}): %{message}"
|
|
- "More info : %{build_url}"
|
|
on_success: always
|
|
on_failure: always
|
|
use_notice: false
|
|
skip_join: false
|
|
email:
|
|
recipients:
|
|
- travis-ci@shubin.ca
|
|
on_failure: change
|
|
on_success: change
|