chore(ci): move go.sum job up

It's slow so better to start it early
This commit is contained in:
Łukasz Mierzwa
2019-08-30 22:24:20 +01:00
parent b860066b54
commit 0a3b528515

View File

@@ -74,6 +74,15 @@ jobs:
- make format-go
- git diff --exit-code
- state: Lint
name: Verify go.sum
<<: *DEFAULTS_GO
script:
- travis_retry make mock-assets
- travis_retry go get -d -v
- travis_retry go mod tidy
- git diff --exit-code
- stage: Lint
name: Lint JavaScript code
<<: *DEFAULTS_JS
@@ -91,15 +100,6 @@ jobs:
<<: *DEFAULTS_JS
script: make lint-docs
- state: Lint
name: Verify go.sum
<<: *DEFAULTS_GO
script:
- travis_retry make mock-assets
- travis_retry go get -d -v
- travis_retry go mod tidy
- git diff --exit-code
- stage: Build and Deploy
name: Build docker image
# we build and push docker image on merge and tag, so this should only