mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
8eeb70fee1
since golang 1.12 no special handling is required for file.Sync() @pborzenkov thanks for the pointer. Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
21 lines
322 B
YAML
21 lines
322 B
YAML
dist: trusty
|
|
language: go
|
|
os:
|
|
- windows
|
|
- linux
|
|
- osx
|
|
|
|
go:
|
|
- 1.12.x
|
|
|
|
go_import_path: github.com/prometheus/tsdb
|
|
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
|
|
|
|
install:
|
|
- make deps
|
|
|
|
script:
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then make test; else make all; fi
|