Skip to content

Commit 19a19e3

Browse files
committed
Merge pull request #43 from mackerelio/go1.5
build with go1.5
2 parents 3560fa4 + c23be80 commit 19a19e3

File tree

3 files changed

+3
-33
lines changed

3 files changed

+3
-33
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22
go:
3-
- 1.4
3+
- 1.5
44
env:
55
- PATH=/home/travis/gopath/bin:$PATH DEBIAN_FRONTEND=noninteractive
66
sudo: false
@@ -12,7 +12,6 @@ addons:
1212
- debhelper
1313
install:
1414
- go get github.com/mitchellh/gox
15-
- gox -build-toolchain -osarch=linux/386
1615
- mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
1716
script:
1817
- make lint

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deps:
1111
devel-deps: deps
1212
go get github.com/golang/lint/golint
1313
go get golang.org/x/tools/cmd/vet
14-
go get golang.org/x/tools/cmd/cover
14+
go get github.com/pierrre/gotestcover
1515
go get github.com/mattn/goveralls
1616

1717
LINT_RET = .golint.txt
@@ -22,7 +22,7 @@ lint: devel-deps
2222
test ! -s $(LINT_RET)
2323

2424
cover: devel-deps
25-
tool/cover.sh
25+
gotestcover -v -short -covermode=count -coverprofile=.profile.cov -parallelpackages=4 ./...
2626

2727
build: deps
2828
mkdir -p build

tool/cover.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)