Files
kube-prometheus/.travis.yml
Damien Grisonnet cb49f90491 ci: use golang tooling
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2020-04-06 12:50:11 +02:00

22 lines
410 B
YAML

sudo: required
dist: xenial
language: go
go:
- "1.12.x"
go_import_path: github.com/coreos/kube-prometheus
cache:
directories:
- $GOCACHE
- $GOPATH/pkg/mod
jobs:
include:
- name: Check generated files
script: make --always-make generate && git diff --exit-code
- name: Run tests
script: make --always-make test
- name: Run e2e tests
script: GO111MODULE=on ./tests/e2e/travis-e2e.sh