File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,8 @@ before_install:
2727 - go get golang.org/x/tools/cmd/cover
2828
2929
30- install :
31- - make travis_install
32-
33-
3430script :
3531 - make build
3632 - ./scw version
37- - make travis_run
3833 - make cover
3934 - goveralls -service=travis-ci -v -coverprofile=profile.out
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ $(IREF_LIST): %_iref: pkg/scwversion/version.go
7777$(TEST_LIST ) : % _test:
7878 $(GOTEST ) ./$*
7979$(COVER_LIST ) : % _cover:
80- $(GOTEST ) -coverprofile=file-profile.out ./$*
80+ $(GOTEST ) -covermode=count -v - coverprofile=file-profile.out ./$*
8181 if [ -f file-profile.out ]; then cat file-profile.out | grep -v " mode: set" >> profile.out || true ; rm -f file-profile.out; fi
8282$(FMT_LIST ) : % _fmt:
8383 $(GOFMT ) ./$*
@@ -130,15 +130,6 @@ packages:
130130# publish_packages:
131131# docker run -v $(PWD)/dist moul/dput ppa:moul/scw dist/scw_$(FPM_VERSION)_arm.changes
132132
133-
134- travis_install :
135- go get golang.org/x/tools/cmd/cover
136-
137-
138- travis_run : build
139- go test -v -covermode=count $(foreach int, $(SRC ) $(PACKAGES ) , ./$(int ) )
140-
141-
142133golint :
143134 @go get github.com/golang/lint/golint
144135 @for dir in * /; do golint $$ dir; done
You can’t perform that action at this time.
0 commit comments