2017-10-06 01:31:53 +03:00
|
|
|
language: go
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
2019-03-11 19:18:55 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2017-10-06 01:31:53 +03:00
|
|
|
go:
|
2019-03-11 19:18:55 +03:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
|
|
|
- tip
|
2017-10-06 01:31:53 +03:00
|
|
|
|
2019-03-11 19:18:55 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
exclude:
|
|
|
|
# OSX 1.6.4 is not present in travis.
|
|
|
|
# https://github.com/travis-ci/travis-ci/issues/10309
|
|
|
|
- go: 1.6.x
|
|
|
|
os: osx
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
go: 1.5.x
|
|
|
|
# Use Go 1.5's vendoring experiment for 1.5 tests.
|
|
|
|
env: GO15VENDOREXPERIMENT=1
|
2017-10-06 01:31:53 +03:00
|
|
|
|
|
|
|
script:
|
2019-03-11 19:18:55 +03:00
|
|
|
- if [ $TRAVIS_GO_VERSION == "tip" ] ||
|
|
|
|
[ $TRAVIS_GO_VERSION == "1.11.x" ] ||
|
|
|
|
[ $TRAVIS_GO_VERSION == "1.10.x" ]; then
|
|
|
|
make ci-test;
|
|
|
|
else
|
|
|
|
make unit-old-go-race-cover;
|
|
|
|
fi
|
2017-10-06 01:31:53 +03:00
|
|
|
|
2019-03-11 19:18:55 +03:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|