Skip to content

Commit 24ab9c7

Browse files
committed
ci: cover
1 parent 3d1e2b1 commit 24ab9c7

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.travis.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,29 @@ dist: trusty
55
os:
66
- linux
77

8-
go:
9-
- 1.8.x
10-
- 1.9.x
11-
- 1.10.x
12-
- master
8+
env:
9+
- TAGS="-tags travis"
1310

1411
matrix:
1512
fast_finish: true
1613
allow_failures:
1714
- go: master
15+
include:
16+
- go: 1.9.x
17+
env:
18+
- TAGS="-tags travis"
19+
- go: 1.10.x
20+
env:
21+
- TAGS="-tags travis"
22+
- COVERAGE="-cover"
23+
- go: master
24+
env:
25+
- TAGS="-tags travis"
1826

1927
script:
2028
- go install -v $TAGS ./...
21-
- GOARCH=386 go test ./...
22-
- GOARCH=amd64 go run ./ci/run-tests.go -race -cover
29+
- GOARCH=386 go test $TAGS ./...
30+
- GOARCH=amd64 go run ./ci/run-tests.go -race $TAGS $COVERAGE
2331

2432
after_success:
2533
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)