forked from muesli/cache2go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 815 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
36
37
38
39
40
41
42
43
44
45
46
47
48
language: go
os:
- linux
- osx
go:
- 1.2.x
- 1.3.x
- 1.4
- 1.5.x
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- tip
matrix:
allow_failures:
- go: tip
exclude:
- os: osx
go: 1.2.x
- os: osx
go: 1.3.x
- os: osx
go: 1.4
- os: osx
go: 1.5.x
- os: osx
go: 1.6.x
before_install:
- if [[ $TRAVIS_GO_VERSION == 1.13* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
script:
- go test -v -tags ci ./...
- if [[ $TRAVIS_GO_VERSION == 1.13* ]]; then $GOPATH/bin/goveralls -service=travis-ci -ignore="examples/callbacks/callbacks.go,examples/dataloader/dataloader.go,examples/mycachedapp/mycachedapp.go"; fi
notifications:
email:
on_success: change
on_failure: always