os:
 - linux
sudo: required
dist: trusty
language: go
go:
 - "1.9"
 - "1.10"
 - "1.11"
 - "1.12"
 - master
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
