forked from kubernetes/kube-state-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 934 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
sudo: required
language: go
go:
- "1.11.5"
services:
- docker
git:
# Benchmark tests needs to access other branches, thereby we need to fetch all
# of the repository.
depth: false
env:
global:
- E2E_SETUP_MINIKUBE=yes
- E2E_SETUP_KUBECTL=yes
- E2E_SETUP_PROMTOOL=yes
- MINIKUBE_DRIVER=none
- SUDO=sudo
install:
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kube-state-metrics
- cd $HOME/gopath/src/k8s.io/kube-state-metrics
jobs:
include:
# Format
- script: make format
# Check that all the go modules manifests, vendors, and packages are in sync
- script: make validate-modules
# Check that all metrics are documented
- script: make doccheck
# Unit Test
- script: make test-unit
# Benchmark Test
- script: make test-benchmark-compare
# Build
- script: make build
# E2e
- script: make e2e