update Travis config (#29)

This commit is contained in:
Adam Babik 2019-07-25 08:51:30 +02:00 committed by GitHub
parent e223b0af6a
commit 549afb5edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 17 deletions

View File

@ -1,3 +1,8 @@
run:
concurrency: 4
modules-download-mode: vendor
deadline: 5m
skip:
- migrations.go
- .*_mock.go
- vendor/

View File

@ -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