os: - linux sudo: required dist: xenial language: go go: - "1.16" - master env: - GO111MODULE=on services: - docker before_install: - sudo apt-get -qq update - sudo apt-get install -y libsystemd-dev libc6-dev-arm64-cross gcc-aarch64-linux-gnu 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 - ENABLE_JOURNALD=0 make build-binaries