File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,11 @@ language: go
3
3
go :
4
4
- " 1.12"
5
5
6
- before_install :
7
- - go get golang.org/x/lint/golint
8
- - go get github.com/go-tools/cmd/staticcheck
9
-
10
6
install :
11
7
- go get
12
8
13
9
script :
14
- - go test -race -coverprofile=coverage.txt -covermode=atomic github.com/sdcoffey/techan
15
- - make lint
10
+ - make test-with-coverage
16
11
17
12
after_success :
18
13
- bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ commit: test
25
25
release : clean test lint
26
26
./scripts/release.sh
27
27
28
- coverage : clean
29
- go test -race -cover -covermode=atomic -coverprofile=bin/coverage.txt
30
- go tool cover -html bin/coverage.txt
28
+ test-with-coverage :
29
+ go test -race -cover -covermode=atomic -coverprofile=coverage.txt github.com/sdcoffey/techan
30
+
31
+ view-coverage : test-with-coverage
32
+ go tool cover -html coverage.txt
You can’t perform that action at this time.
0 commit comments