We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 058313e commit 4c4dbc6Copy full SHA for 4c4dbc6
.travis.yml
@@ -1,13 +1,21 @@
1
language: go
2
3
+
4
+sudo: false
5
6
7
+env:
8
+ global:
9
+ - PATH=$HOME/gopath/bin:$PATH
10
11
12
go:
13
- 1.4.2
14
15
16
install:
- - export PATH=$HOME/gopath/bin:$PATH
- - go get golang.org/x/tools/cmd/cover
17
+ - make travis_install
18
19
20
script:
- - make Godeps
- - make build
- - go test -v -covermode=count -coverprofile=profile.cov
21
+ - make travis_run
Makefile
@@ -72,3 +72,11 @@ cross: scwversion/version.go
72
touch tmp/bin/*
73
mv tmp/bin/* dist/
74
rm -rf tmp dist/godep
75
76
77
+travis_install:
78
+ go get golang.org/x/tools/cmd/cover
79
80
81
+travis_run: build
82
+ go test -v -covermode=count -coverprofile=profile.cov
0 commit comments