author | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-05-22 09:15:52 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-05-22 11:11:27 UTC |
parent | a48af0016224d5851f3723c9199b49a58e3882a4 |
.travis.yml | +20 | -21 |
README.md | +3 | -4 |
test/README.md | +10 | -6 |
diff --git a/.travis.yml b/.travis.yml index 115a3af..48a75b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,22 +2,27 @@ language: go go_import_path: blitiri.com.ar/go/chasquid -dist: trusty -sudo: false +dist: bionic -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 +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. @@ -37,9 +42,3 @@ 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 diff --git a/README.md b/README.md index 754cf26..da03804 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,11 @@ It is designed mainly for individuals and small groups. It's written in [Go](https://golang.org), and distributed under the [Apache license 2.0](http://en.wikipedia.org/wiki/Apache_License). -[](https://travis-ci.org/albertito/chasquid) +[](https://gitlab.com/albertito/chasquid/pipelines) [](https://cirrus-ci.com/github/albertito/chasquid) -[](https://gitlab.com/albertito/chasquid/pipelines)\ [](https://goreportcard.com/report/github.com/albertito/chasquid) -[](https://blitiri.com.ar/p/chasquid/coverage.html) -[](https://blitiri.com.ar/p/chasquid/docs/) +[](https://blitiri.com.ar/p/chasquid/coverage.html) +[](https://blitiri.com.ar/p/chasquid/) [](https://webchat.freenode.net/#chasquid) diff --git a/test/README.md b/test/README.md index 85d308d..0617e14 100644 --- a/test/README.md +++ b/test/README.md @@ -84,12 +84,16 @@ constrained or non supported environments. There are two sets of automated tests which are run on every commit to upstream, and weekly: -* [Travis CI](https://travis-ci.org/albertito/chasquid), configured in the - `.travis.yml` file, runs the Go tests. -* [Gitlab CI](https://gitlab.com/albertito/chasquid/commits/master), - configured in the `.gitlab-ci.yml` file, runs integration tests. The tests - are run twice: once against the dependencies listed in `go.mod`, and once - against the latest version of the dependencies. +* [GitLab CI](https://gitlab.com/albertito/chasquid/commits/master), + configured in the `.gitlab-ci.yml` file, runs the Go tests and the + integration tests (using [docker](#docker)). + The integration tests are run twice: once against the dependencies listed in + `go.mod`, and once against the latest version of the dependencies. + It also builds the [public Docker images](docker.md). + +* [Cirrus CI](https://gitlab.com/albertito/chasquid/pipelines), + configured in the `.cirrus.yml` file, runs Go tests on FreeBSD, and a + comprehensive linter. ## Coverage