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 4367c9e059 travis: Remove references in documentation, allow to fail
The Travis tests don't work due to a Travis networking issue reaching
some external hosts.

Until it is fixed, remove references from the documentation, since its
output is misleading.

We also allow it to fail, which makes the GitHub UI not show commits as
having failed tests because of Travis.

Since the previous commit, GitLab CI does almost all the same tests, so
there should be no significant loss of coverage anyway.
2020-05-22 12:11:27 +01:00

45 lines
1.3 KiB
YAML

# Configuration for https://travis-ci.org/
language: go
go_import_path: blitiri.com.ar/go/chasquid
dist: bionic
jobs:
include:
- name: "go 1.11 (debian stable)"
go: 1.11.x
# 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.
env: GO111MODULE=on
- name: "go stable"
go: stable
- name: "go tip"
go: master
allow_failures:
# There is a bug in the Travis environment where it can't reach certain
# hosts that host Go package dependencies.
# This manifests only in Go 1.11, since subsequent versions use the public
# proxy which has no problems.
# Make the build optional until the issue is fixed.
- go: 1.11.x
# 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