mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
This commit sets up Travis CI to run the unit tests. It installs glide, initializes the vendor directory, and then runs `make test`.
23 lines
342 B
YAML
23 lines
342 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.8
|
|
|
|
# blech, Travis downloads with capitals in DirectXMan12, which confuses go
|
|
go_import_path: github.com/directxman12/k8s-prometheus-adapter
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'ppa:masterminds/glide'
|
|
packages:
|
|
- glide
|
|
|
|
install:
|
|
- make -B vendor
|
|
|
|
script: make test
|
|
|
|
cache:
|
|
directories:
|
|
- ~/.glide
|