forked from manyminds/api2go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 946 Bytes
/
.travis.yml
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
33
34
35
arch:
- amd64
- ppc64le
language: go
go:
- "1.13"
- "1.14"
- "1.15"
sudo: false
install:
- go get -t -d -v ./...
- go get github.com/onsi/ginkgo/ginkgo
- go get -u golang.org/x/lint/golint
- go get -u github.com/modocache/gover
- go get -u github.com/mattn/goveralls
# optional dependencies
script:
- ginkgo -r -cover --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --progress
- ginkgo -tags=gorillamux -r --randomizeSuites --failOnPending --trace --race
- ginkgo -tags=gingonic -r --randomizeSuites --failOnPending --trace --race
- ginkgo -tags=echo -r --randomizeSuites --failOnPending --trace --race
- rm examples/examples.coverprofile
- bash scripts/fmtpolice
- gover
- goveralls -coverprofile=gover.coverprofile -repotoken gY90SprlNRGmSMl7MgybLreYa05wUXJTU
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9caacfa1bede5e900019
on_success: change