mirror of
https://github.com/prymitive/karma
synced 2026-05-17 04:16:42 +00:00
chore(ci): move go.sum job up
It's slow so better to start it early
This commit is contained in:
18
.travis.yml
18
.travis.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user