mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
We want Travis CI to check against the Go version shipped in the latest Debian stable, to make sure chasquid can be built and run there. There was a new Debian release which has Go 1.11, so raise the CI config version accordingly.
38 lines
900 B
YAML
38 lines
900 B
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
|
|
- stable
|
|
- master
|
|
|
|
# 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: always
|