-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (27 loc) · 828 Bytes
/
.travis.yml
File metadata and controls
32 lines (27 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: go
env:
- GO111MODULE=on
go:
- 1.15
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- go test -v -coverprofile=coverage.report
after_script:
- go tool cover -func=coverage.report
- ${HOME}/gopath/bin/goveralls -coverprofile=coverage.report -service=travis-ci
# currently cannot customise per user fork, see:
# https://github.com/travis-ci/travis-ci/issues/1094
notifications:
irc:
channels:
- "irc.mozilla.org#taskcluster-bots"
on_success: change
on_failure: always
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"
- "Commit message : %{commit_message}"