Skip to content
Snippets Groups Projects
Commit 94d6af81 authored by Nick Thomas's avatar Nick Thomas
Browse files

Don't run lint on go1.5, but run everything on go1.6 and go1.7

parent 62b22d77
No related branches found
No related tags found
1 merge request!10Don't run lint on go1.5, but run everything on go1.6 and go1.7
Loading
Loading
@@ -8,6 +8,17 @@ before_script:
- ln -sfv "$(pwd -P)" "$GODIR"
- cd "$GODIR"
 
test:
test:1.5:
image: golang:1.5
script:
- make verify-lite
test:1.6:
image: golang:1.6
script:
- make verify
test:1.7:
image: golang:1.7
script:
- make verify
Loading
Loading
@@ -21,7 +21,8 @@ gitlab-pages: $(GO_FILES)
update:
godep save ./...
 
verify: fmt vet lint complexity test
verify-lite: fmt vet complexity test # lint does not work on go1.5 any more
verify: verify-lite lint
 
fmt:
go fmt ./... | awk '{ print "Please run go fmt"; exit 1 }'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment