update Travis config (#29)
This commit is contained in:
parent
e223b0af6a
commit
549afb5edf
|
@ -1,3 +1,8 @@
|
|||
run:
|
||||
concurrency: 4
|
||||
modules-download-mode: vendor
|
||||
deadline: 5m
|
||||
skip:
|
||||
- migrations.go
|
||||
- .*_mock.go
|
||||
- vendor/
|
||||
|
|
30
.travis.yml
30
.travis.yml
|
@ -2,26 +2,22 @@ notifications:
|
|||
email: false
|
||||
|
||||
language: go
|
||||
go:
|
||||
- "1.12.x"
|
||||
- "1.13beta1"
|
||||
|
||||
install: true
|
||||
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
|
||||
before_script:
|
||||
- make install-linter
|
||||
- GO111MODULE=on GOFLAGS=-mod=vendor
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- go: "1.11.x"
|
||||
env: GOFLAGS=-mod=vendor
|
||||
script:
|
||||
- make lint
|
||||
# fails without -a
|
||||
- go test -a ./... # make test
|
||||
- go: "1.12.x"
|
||||
env: GOFLAGS=-mod=vendor
|
||||
script:
|
||||
- make lint
|
||||
# fails without -a
|
||||
- go test -a ./... # make test
|
||||
allow_failures:
|
||||
- go: "1.13beta1"
|
||||
|
||||
before_script:
|
||||
- make install-linter
|
||||
|
||||
script:
|
||||
- make lint
|
||||
- make test
|
||||
|
|
Loading…
Reference in New Issue