Skip to content

Commit 2f9659f

Browse files
authored
Merge pull request #176 from atlassian/issue-175
Some fixes and tweaks to the Travis CI config
2 parents ae616a7 + 070eb44 commit 2f9659f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ before_install:
2020
script:
2121
- make lint
2222
- make test
23-
- make test-race
2423
- make test-vet
2524
- make build
25+
- make docker

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: build test test-race test-vet docker clean fmt lint
1+
.PHONY: build test test-vet docker clean fmt lint
22

33
TARGET=escalator
44
# E.g. set this to -v (I.e. GOCMDOPTS=-v via shell) to get the go command to be verbose
@@ -12,9 +12,6 @@ $(TARGET): $(SOURCES)
1212
build: $(TARGET)
1313

1414
test:
15-
go test ./... -cover
16-
17-
test-race:
1815
go test ./... -cover -race
1916

2017
test-vet:

lint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ OUTPUT="$(goreturns -d -e cmd/ pkg/)"
77
test -z "$OUTPUT" || ((>&2 echo -e "$OUTPUT" "\ntry running 'make fmt'") && exit 1)
88
99
# golint
10-
golint -set_exit_status ./...
10+
golint -set_exit_status ./cmd/...
11+
golint -set_exit_status ./pkg/...

0 commit comments

Comments
 (0)