mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
This adds `verify-gofmt` and `gofmt` make targets for quick go-fmting. It also adds a `verify` target which verifies `gofmt` and the runs the unit tests. Travis now runs `make verify` instead of just `make test` as the tests.
23 lines
344 B
YAML
23 lines
344 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 verify
|
|
|
|
cache:
|
|
directories:
|
|
- ~/.glide
|