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

Merge branch '40-fix-ci' into 'master'

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

Closes #40

See merge request !10
parents 62b22d77 94d6af81
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
Pipeline #
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