Commit 5c08c126 authored by endk-mirror-svc's avatar endk-mirror-svc

No reason to go get lint for each stage unless it's needed...

parent fc2819a8
Pipeline #24433216 passed with stages
in 1 minute and 37 seconds
...@@ -16,7 +16,6 @@ before_script: ...@@ -16,7 +16,6 @@ before_script:
- mkdir -p /go/src/gitlab.com/MadsRC /go/src/_/builds - mkdir -p /go/src/gitlab.com/MadsRC /go/src/_/builds
- cp -r $CI_PROJECT_DIR /go/src/gitlab.com/MadsRC/go-eds - cp -r $CI_PROJECT_DIR /go/src/gitlab.com/MadsRC/go-eds
- ln -s /go/src/gitlab.com/MadsRC /go/src/_/builds/MadsRC - ln -s /go/src/gitlab.com/MadsRC /go/src/_/builds/MadsRC
- go get -u golang.org/x/lint/golint
unit_tests: unit_tests:
stage: test stage: test
...@@ -36,6 +35,7 @@ code_coverage: ...@@ -36,6 +35,7 @@ code_coverage:
lint_code: lint_code:
stage: test stage: test
script: script:
- go get -u golang.org/x/lint/golint
- make lint - make lint
build: build:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment