2014-04-19 13:40:38 -07:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-09-07 18:16:02 +02:00
|
|
|
- 1.x
|
2014-04-19 13:40:38 -07:00
|
|
|
|
2015-02-17 12:33:08 -08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2018-02-21 12:20:33 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-02-21 12:27:30 +00:00
|
|
|
- env: GOTEST_PKGS="./api"
|
|
|
|
- env: GOTEST_PKGS="./agent"
|
|
|
|
- env: GOTEST_PKGS="./agent/consul"
|
2018-02-21 12:53:35 +00:00
|
|
|
- env: GOTEST_PKGS_EXCLUDE="./api|./agent|./agent/consul"
|
2018-02-21 12:20:33 +00:00
|
|
|
|
2014-04-19 13:40:38 -07:00
|
|
|
script:
|
2018-02-21 12:27:30 +00:00
|
|
|
- GOTEST_FLAGS="-p 3 -parallel 1" make test
|
2015-07-28 09:13:25 -07:00
|
|
|
|
2018-02-20 10:52:51 -08:00
|
|
|
sudo: true
|