-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
57 lines (45 loc) · 818 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
51
52
53
54
55
56
57
sudo: false
language: go
os:
- linux
- osx
addons:
apt:
update: true
go:
- 1.13.x
- 1.14.x
matrix:
allow_failures:
- go: tip
fast_finish: true
before_install:
- echo "before_install start"
- df -h
- pwd
- uname -a
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
fi
- go version
- go get
install:
- echo "install start"
- echo "install done"
before_script:
- echo "before_script start"
- go vet ./...
- echo "before_script end"
script:
- go build -a -v .
- go test -v -cover -race -coverprofile=coverage.txt -covermode=atomic ./...
after_script:
- echo "after_script start"
- echo "after_script done"
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
on_success: never
on_failure: always