mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-29 07:29:42 -08:00
ddefee52dc
Note that by just running `make update-go-deps`, the K8s Go client was set to `k8s.io/client-go v11.0.0+incompatible`. However, that doesn't play well with `k8s.io/apimachinery v0.18.5`. I the manually changed the Go client line to `k8s.io/client-go v0.18.5`, which made everything work. I guess Go Modules got confused by the ginormous v11.0.0 version tag. Or it is a problem that pulling k8s.io/client-go with git results in a rather old repo without the v0.18.5 tag. github.com/kubernetes/client-go has all the right tags. I actually don't understand how Go Modules still correctly figures out the source from the `k8s.io/client-go v0.18.5` line. If one of the reviewers could enlighten me, I'd much appreciate it. Signed-off-by: beorn7 <beorn@grafana.com>
57 lines
2.6 KiB
YAML
57 lines
2.6 KiB
YAML
sudo: required
|
|
|
|
language: go
|
|
go_import_path: github.com/uber/jaeger-client-go
|
|
|
|
dist: trusty
|
|
|
|
matrix:
|
|
include:
|
|
- go: 1.14.x
|
|
env:
|
|
- TESTS=true
|
|
- USE_DEP=true
|
|
- COVERAGE=true
|
|
- go: 1.14.x
|
|
env:
|
|
- USE_DEP=true
|
|
- CROSSDOCK=true
|
|
- go: 1.14.x
|
|
env:
|
|
- TESTS=true
|
|
- USE_DEP=false
|
|
- USE_GLIDE=true
|
|
# test with previous version of Go
|
|
- go: 1.13.x
|
|
env:
|
|
- TESTS=true
|
|
- USE_DEP=true
|
|
- CI_SKIP_LINT=true
|
|
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
global:
|
|
- DOCKER_COMPOSE_VERSION=1.8.0
|
|
- COMMIT=${TRAVIS_COMMIT::8}
|
|
# DOCKER_PASS
|
|
- secure: "CnjVyxNvMC/dhr/eR7C+FiWucZ4/O5LfAuz9YU0qlnV6XLR7XXRtzZlfFKIImJT6xHp+OptTqAIXqUbvwK2OXDP1ZsLiWRm+2elb9/isGusWXjs3g817lX8njSUcIFILbfi+vAE7UD2BKjHxpmvWmCZidisU1rcaZ9OQNPqMnNIDxVx0FOTwYx+2hfkdjnN5dikzafB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BYiLHbu0lWOp+9QUGC+621Zq0d1PHhN6L4eXk/f3RNoZTr//cX6WdNmmO7tBbaGpmp/UYiYTY1WO9vP7tCDsT75k285HCfnIrlGRdbCZZbfuYNGPKIQ0="
|
|
|
|
install:
|
|
- make install-ci USE_DEP=$USE_DEP
|
|
- if [ "$CROSSDOCK" == true ]; then bash ./travis/install-crossdock-deps.sh ; fi
|
|
|
|
script:
|
|
- if [ "$TESTS" == true ]; then make test-ci ; else echo 'skipping tests'; fi
|
|
- if [ "$CROSSDOCK" == true ]; then bash ./travis/build-crossdock.sh ; else echo 'skipping crossdock'; fi
|
|
|
|
after_success:
|
|
- if [ "$COVERAGE" == true ]; then mv cover.out coverage.txt ; else echo 'skipping coverage'; fi
|
|
- if [ "$COVERAGE" == true ]; then bash <(curl -s https://codecov.io/bash) ; else echo 'skipping coverage'; fi
|
|
|
|
after_failure:
|
|
- if [ "$CROSSDOCK" == true ]; then timeout 5 docker-compose -f crossdock/docker-compose.yml logs; fi
|