mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
As of a29dc8fd (2019-04-26), golang.org/x/crypto requires math/bits. math/bits was introduced in Go 1.9, so we can no longer build from head using 1.7. Building using Debian's packaged dependencies should work just fine, but since we want Travis to build from head, this commit updates the minimum supported version to 1.9.
39 lines
987 B
YAML
39 lines
987 B
YAML
# Configuration for https://travis-ci.org/
|
|
|
|
language: go
|
|
go_import_path: blitiri.com.ar/go/chasquid
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
go:
|
|
# Normally we'd want to support the version in Debian stable, but
|
|
# golang.org/x/crypto requires math/bits which appeared in 1.9.
|
|
- 1.9
|
|
- 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
|