File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
go :
3
- - 1.7
3
+ - 1.9
4
+ - " 1.10"
4
5
- tip
5
6
sudo : false
7
+ before_script :
8
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
9
+ - chmod +x ./cc-test-reporter
10
+ - ./cc-test-reporter before-build
6
11
script :
7
12
- export PATH=$PATH:$HOME/gopath/bin
8
13
- make ci
14
+ after_script :
15
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ ci: deps vet lint test
22
22
23
23
test :
24
24
@echo " [Test] running tests"
25
- @go test -v -cover
25
+ @go test -v ./... -cover -coverprofile=c.out
26
26
27
27
.PHONY : default golint test
Original file line number Diff line number Diff line change 4
4
[ ![ Build Status] ( https://travis-ci.org/mtchavez/countmin.svg?branch=f-ci-updates )] ( https://travis-ci.org/mtchavez/countmin )
5
5
[ ![ Go Documentation] ( http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square )] ( http://godoc.org/github.com/mtchavez/countmin )
6
6
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/mtchavez/countmin )] ( https://goreportcard.com/report/github.com/mtchavez/countmin )
7
- [ ![ Go Cover] ( http://gocover.io/_badge/github.com/mtchavez/countmin )] ( http://gocover.io/github.com/mtchavez/countmin )
7
+ [ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/9915ffa2990295885e85/maintainability )] ( https://codeclimate.com/github/mtchavez/countmin/maintainability )
8
+ [ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/9915ffa2990295885e85/test_coverage )] ( https://codeclimate.com/github/mtchavez/countmin/test_coverage )
8
9
9
10
CountMin sketching algorithm.
10
11
You can’t perform that action at this time.
0 commit comments