1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-07 17:47:14 +00:00
Files
go-chasquid-smtp/.travis.yml
Alberto Bertogli 5ec567b27e travis: Only notify IRC about failures on change
There's no need to notify IRC on every failure, it can get spammy when
we're iterating trying to fix something.

This patch changes the config to notify IRC on change instead of always.
2020-05-13 23:50:01 +01:00

46 lines
1.2 KiB
YAML

# Configuration for https://travis-ci.org/
language: go
go_import_path: blitiri.com.ar/go/chasquid
dist: trusty
sudo: false
go:
# Check against the version in Debian stable.
- 1.11.x
- stable
- master
env:
# Enable Go modules explicitly on Go 1.11.
# Some packages update in backwards-incompatible ways assuming Go modules
# are in use, which can break the build unexpectedly.
# We can remove this once we no longer support Go 1.11, as it is the default
# in the newer versions.
- GO111MODULE=on
# This is needed because the repository has a Makefile, so travis won't invoke
# "go get" by default.
install:
- go get blitiri.com.ar/go/chasquid
- go get blitiri.com.ar/go/chasquid/cmd/chasquid-util
- go get blitiri.com.ar/go/chasquid/cmd/mda-lmtp
- go get blitiri.com.ar/go/chasquid/cmd/smtp-check
- go get blitiri.com.ar/go/chasquid/cmd/spf-check
script:
- make all
- go test ./...
- go test -race ./...
notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "ircs://chat.freenode.net:7070/#chasquid"
use_notice: true
on_success: change
on_failure: change