File tree 1 file changed +11
-5
lines changed 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
go :
3
3
- 1.4.3
4
- - 1.5.3
5
- - 1.6
4
+ - 1.5.4
5
+ - 1.6.2
6
6
7
7
sudo : true
8
8
9
9
notifications :
10
10
email : false
11
11
12
+ go_import_path : gopkg.in/sensorbee/py.v0
13
+
12
14
before_install :
13
15
- env
14
16
- lsb_release -a
15
17
- sudo apt-get -qq update
16
18
- sudo apt-get -qq install python-dev python-pip pkg-config
17
19
- sudo pip install six msgpack-python
18
20
- go version
21
+
22
+ install :
23
+ - if [ "$TRAVIS_GO_VERSION" != "1.4.3" ]; then go get github.com/golang/lint/golint; fi
19
24
- go get github.com/mattn/goveralls
20
25
- go get golang.org/x/tools/cmd/cover
21
26
- go get github.com/pierrre/gotestcover
22
-
23
- install :
24
27
- go get -t -d -v ./...
25
28
29
+ before_script :
30
+ - if [ "$TRAVIS_GO_VERSION" != "1.4.3" ]; then golint ./... | tee .golint.txt && test ! -s .golint.txt; fi
31
+
26
32
script :
27
33
- go build -v ./...
28
34
- gotestcover -v -covermode=count -coverprofile=.profile.cov -parallelpackages=1 ./...
29
35
30
36
after_success :
31
- - if [ "$TRAVIS_GO_VERSION" = "1.6" ]; then goveralls -coverprofile=.profile.cov -repotoken $COVERALLS_TOKEN; fi
37
+ - if [ "$TRAVIS_GO_VERSION" = "1.6.2 " ]; then goveralls -coverprofile=.profile.cov -repotoken $COVERALLS_TOKEN; fi
You can’t perform that action at this time.
0 commit comments