mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
d867491364
* Add support for user-friendly durations Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
18 lines
401 B
YAML
18 lines
401 B
YAML
language: go
|
|
go_import_path: github.com/sirupsen/logrus
|
|
git:
|
|
depth: 1
|
|
env:
|
|
- GO111MODULE=on
|
|
go: [1.13.x, 1.14.x]
|
|
os: [linux, osx]
|
|
install:
|
|
- ./travis/install.sh
|
|
script:
|
|
- ./travis/cross_build.sh
|
|
- ./travis/lint.sh
|
|
- export GOMAXPROCS=4
|
|
- export GORACE=halt_on_error=1
|
|
- go test -race -v ./...
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -v -tags appengine ./... ; fi
|