Skip to content
Snippets Groups Projects
.travis.yml 395 B
Newer Older
sudo: required
dist: xenial
language: go

go:
Lili Cosic's avatar
Lili Cosic committed
- "1.13.x"
go_import_path: github.com/coreos/kube-prometheus

cache:
  directories:
  - $GOCACHE
  - $GOPATH/pkg/mod

jobs:
  include:
paulfantom's avatar
paulfantom committed
  - name: Check generated files
    script: make --always-make generate && git diff --exit-code
paulfantom's avatar
paulfantom committed
  - name: Run tests
    script: make --always-make test
paulfantom's avatar
paulfantom committed
  - name: Run e2e tests
    script: ./tests/e2e/travis-e2e.sh