2018-09-21 01:08:38 -07:00
|
|
|
# sudo is enabled because it provides more memory which was needed to run go test -race
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2017-04-09 01:18:19 -07:00
|
|
|
language: go
|
2018-12-13 05:29:29 -08:00
|
|
|
os:
|
|
|
|
- windows
|
|
|
|
- linux
|
|
|
|
- osx
|
2017-04-09 01:18:19 -07:00
|
|
|
|
|
|
|
go:
|
2018-09-21 01:08:38 -07:00
|
|
|
- 1.10.x
|
2018-11-28 02:39:56 -08:00
|
|
|
- 1.11.x
|
2017-04-09 01:18:19 -07:00
|
|
|
|
|
|
|
go_import_path: github.com/prometheus/tsdb
|
|
|
|
|
2018-12-13 05:29:29 -08:00
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
|
2019-01-02 08:48:42 -08:00
|
|
|
|
2018-09-21 01:08:38 -07:00
|
|
|
install:
|
2019-01-02 08:48:42 -08:00
|
|
|
- make deps
|
2018-09-21 01:08:38 -07:00
|
|
|
|
2017-04-09 01:18:19 -07:00
|
|
|
script:
|
2018-09-21 01:08:38 -07:00
|
|
|
# `staticcheck` target is omitted due to linting errors
|
2019-01-02 08:48:42 -08:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then make test; else make; fi
|