mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
This updates our dependencies to the Kubernetes 1.11 versions. In the future, this will also allow us to support the external metrics API.
30 lines
527 B
YAML
30 lines
527 B
YAML
language: go
|
|
|
|
go:
|
|
- '1.10'
|
|
|
|
# blech, Travis downloads with capitals in DirectXMan12, which confuses go
|
|
go_import_path: github.com/directxman12/k8s-prometheus-adapter
|
|
|
|
before_install:
|
|
- curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o $GOPATH/bin/dep
|
|
- chmod +x $GOPATH/bin/dep
|
|
|
|
install:
|
|
- make -B vendor
|
|
|
|
script: make verify
|
|
|
|
cache:
|
|
directories:
|
|
- ~/gopath/pkg/dep/
|
|
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
|
|
deploy:
|
|
provider: script
|
|
script: bash .travis-deploy.sh
|
|
on:
|
|
branch: master
|