2016-11-10 15:08:20 -05:00
|
|
|
env:
|
2018-10-16 09:29:30 -04:00
|
|
|
- USER=travis
|
|
|
|
|
|
|
|
os:
|
2018-10-16 10:19:04 -04:00
|
|
|
- windows
|
2018-10-16 09:29:30 -04:00
|
|
|
- linux
|
|
|
|
- osx
|
2016-11-10 15:08:20 -05:00
|
|
|
|
2015-01-22 16:06:35 -05:00
|
|
|
sudo: false
|
|
|
|
|
2013-08-13 21:42:39 -04:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2018-08-24 18:43:18 -04:00
|
|
|
- 1.11.x
|
2018-06-28 17:49:09 -04:00
|
|
|
- master
|
2013-08-13 21:42:39 -04:00
|
|
|
|
2018-10-16 09:44:49 -04:00
|
|
|
before_install:
|
2018-10-16 10:15:21 -04:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make ; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install mingw ; fi
|
2018-10-16 09:44:49 -04:00
|
|
|
|
2013-08-21 14:06:01 -04:00
|
|
|
script:
|
2018-10-16 10:37:38 -04:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export CGO_ENABLED=0 ; fi
|
2015-08-07 02:45:39 -04:00
|
|
|
- GOMAXPROCS=2 make ci
|
2015-01-22 16:06:35 -05:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2013-08-15 21:02:41 -04:00
|
|
|
matrix:
|
2018-06-28 17:49:09 -04:00
|
|
|
allow_failures:
|
|
|
|
- go: master
|
2015-01-22 16:06:35 -05:00
|
|
|
fast_finish: true
|