-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (26 loc) · 672 Bytes
/
.travis.yml
File metadata and controls
31 lines (26 loc) · 672 Bytes
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
language: go
sudo: required
go:
- 1.6.2
- tip
env:
global:
- PATH=$HOME/gopath/bin:$PATH
matrix:
allow_failures:
- go: tip
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/modocache/gover
install:
- go get github.com/stretchr/testify/assert
- go get -v ./...
- sudo apt-get install -qy xsel
script:
- go test -v -coverprofile=api.coverprofile ./api
- go test -v -coverprofile=cmd.coverprofile ./cmd
- go test -v -coverprofile=lib.coverprofile ./lib
- go test -v -coverprofile=main.coverprofile
- gover
- goveralls -coverprofile=gover.coverprofile -service travis-ci