-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
50 lines (43 loc) · 783 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
49
50
language: go
os:
- linux
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
sudo: required
before_install:
- if [[ $TRAVIS_GO_VERSION == 1.13* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
- sudo apt-get update -qq
- sudo apt-get install -y cracklib-runtime
script:
- go test -v -tags ci ./...
- if [[ $TRAVIS_GO_VERSION == 1.13* ]]; then $GOPATH/bin/goveralls -service=travis-ci; fi
notifications:
email:
on_success: change
on_failure: always