Bumping up CI build to go 1.14 (#124)
Bumping up Travis CI build to go 1.14 as well as increasing the timeout for go tests.
This commit is contained in:
parent
2b6025e67d
commit
5f667555dc
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
sudo: required
|
|
||||||
|
|
||||||
|
os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ branches:
|
||||||
- future
|
- future
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.10.x"
|
- "1.14.x"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -24,10 +24,11 @@ before_install:
|
||||||
- test -z "`for d in $GO_USR_DIRS; do goimports -d $d/*.go | tee /dev/stderr; done`"
|
- test -z "`for d in $GO_USR_DIRS; do goimports -d $d/*.go | tee /dev/stderr; done`"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- go mod download
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -race -coverprofile=coverage.txt -covermode=atomic -v github.com/paypal/gorealis
|
- go test -timeout 30m -race -coverprofile=coverage.txt -covermode=atomic -v github.com/paypal/gorealis
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue