mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
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.
This commit is contained in:
41
.travis.yml
41
.travis.yml
@@ -2,22 +2,27 @@
|
|||||||
|
|
||||||
language: go
|
language: go
|
||||||
go_import_path: blitiri.com.ar/go/chasquid
|
go_import_path: blitiri.com.ar/go/chasquid
|
||||||
dist: trusty
|
dist: bionic
|
||||||
sudo: false
|
|
||||||
|
|
||||||
go:
|
jobs:
|
||||||
# Check against the version in Debian stable.
|
include:
|
||||||
- 1.11.x
|
- name: "go 1.11 (debian stable)"
|
||||||
- stable
|
go: 1.11.x
|
||||||
- master
|
# Enable Go modules explicitly on Go 1.11.
|
||||||
|
# Some packages update in backwards-incompatible ways assuming Go
|
||||||
env:
|
# modules are in use, which can break the build unexpectedly.
|
||||||
# Enable Go modules explicitly on Go 1.11.
|
env: GO111MODULE=on
|
||||||
# Some packages update in backwards-incompatible ways assuming Go modules
|
- name: "go stable"
|
||||||
# are in use, which can break the build unexpectedly.
|
go: stable
|
||||||
# We can remove this once we no longer support Go 1.11, as it is the default
|
- name: "go tip"
|
||||||
# in the newer versions.
|
go: master
|
||||||
- GO111MODULE=on
|
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
|
# This is needed because the repository has a Makefile, so travis won't invoke
|
||||||
# "go get" by default.
|
# "go get" by default.
|
||||||
@@ -37,9 +42,3 @@ notifications:
|
|||||||
email:
|
email:
|
||||||
on_success: change
|
on_success: change
|
||||||
on_failure: always
|
on_failure: always
|
||||||
irc:
|
|
||||||
channels:
|
|
||||||
- "ircs://chat.freenode.net:7070/#chasquid"
|
|
||||||
use_notice: true
|
|
||||||
on_success: change
|
|
||||||
on_failure: change
|
|
||||||
|
|||||||
@@ -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
|
It's written in [Go](https://golang.org), and distributed under the
|
||||||
[Apache license 2.0](http://en.wikipedia.org/wiki/Apache_License).
|
[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://cirrus-ci.com/github/albertito/chasquid)
|
||||||
[](https://gitlab.com/albertito/chasquid/pipelines)\
|
|
||||||
[](https://goreportcard.com/report/github.com/albertito/chasquid)
|
[](https://goreportcard.com/report/github.com/albertito/chasquid)
|
||||||
[](https://blitiri.com.ar/p/chasquid/coverage.html)
|
[](https://blitiri.com.ar/p/chasquid/coverage.html)
|
||||||
[](https://blitiri.com.ar/p/chasquid/docs/)
|
[](https://blitiri.com.ar/p/chasquid/)
|
||||||
[](https://webchat.freenode.net/#chasquid)
|
[](https://webchat.freenode.net/#chasquid)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -84,12 +84,16 @@ constrained or non supported environments.
|
|||||||
There are two sets of automated tests which are run on every commit to
|
There are two sets of automated tests which are run on every commit to
|
||||||
upstream, and weekly:
|
upstream, and weekly:
|
||||||
|
|
||||||
* [Travis CI](https://travis-ci.org/albertito/chasquid), configured in the
|
* [GitLab CI](https://gitlab.com/albertito/chasquid/commits/master),
|
||||||
`.travis.yml` file, runs the Go tests.
|
configured in the `.gitlab-ci.yml` file, runs the Go tests and the
|
||||||
* [Gitlab CI](https://gitlab.com/albertito/chasquid/commits/master),
|
integration tests (using [docker](#docker)).
|
||||||
configured in the `.gitlab-ci.yml` file, runs integration tests. The tests
|
The integration tests are run twice: once against the dependencies listed in
|
||||||
are run twice: once against the dependencies listed in `go.mod`, and once
|
`go.mod`, and once against the latest version of the dependencies.
|
||||||
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
|
## Coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user