forked from kubernetes/node-problem-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 964 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
os:
- linux
sudo: required
dist: trusty
language: go
go:
- "1.11"
- "1.12"
- master
env:
- GO111MODULE=on
services:
- docker
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libsystemd-journal-dev
install:
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/node-problem-detector
- cd $HOME/gopath/src/k8s.io/node-problem-detector
script:
- make
- make test
- make clean && BUILD_TAGS="disable_custom_plugin_monitor" make
- BUILD_TAGS="disable_custom_plugin_monitor" make test
- make clean && BUILD_TAGS="disable_system_log_monitor" make
- BUILD_TAGS="disable_system_log_monitor" make test
- make clean && BUILD_TAGS="disable_system_stats_monitor" make
- BUILD_TAGS="disable_system_stats_monitor" make test
- make clean && BUILD_TAGS="disable_stackdriver_exporter" make
- BUILD_TAGS="disable_stackdriver_exporter" make test
- make clean && ENABLE_JOURNALD=0 make
- ENABLE_JOURNALD=0 make test