1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/.travis.yml
Alberto Bertogli a92497aef0 travis: Increase minimum supported version to 1.9
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.
2019-05-05 13:04:04 +01:00

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