Merge pull request #325 from prymitive/go-mod-drop-tidy

fix(ci): drop go module tidy check from travis
This commit is contained in:
Łukasz Mierzwa
2018-12-23 10:00:52 +01:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@@ -42,6 +42,8 @@ jobs:
- DESC="Lint Go code"
before_script:
- make mock-assets
# https://github.com/golang/go/issues/26794
- GO111MODULE=on go mod download
script: make lint-go
- stage: Lint
@@ -75,10 +77,10 @@ jobs:
- nvm install $(< .nvmrc)
script:
- export GO111MODULE=on
# https://github.com/golang/go/issues/26794
- go mod download
# compile assets via webpack and build those into bindata_assetfs.go file
- make bindata_assetfs.go
# tidy module deps to ensure we only have what we needed (git diff will pick it up)
- go mod tidy -v
# verify that there are no uncommited changes from (re)compiling sass
# assets
- git diff --exit-code

View File

@@ -1,5 +1,5 @@
{
"extends": ["config:base"],
"prConcurrentLimit": 1,
"prConcurrentLimit": 3,
"rebaseStalePrs": false
}