Switch to Go modules (and bump Go version requirement)
Go >= 1.9 required to support Go modules (because madon has a
v2 major version); v1.11+ is recommended.
language: go
go:
- "1.9"
- "1.10"
- "1.11"
- master
matrix:
allow_failures:
- go: master
fast_finish: true
branches:
only:
- master
install:
- go get golang.org/x/net/html
- go get github.com/spf13/cobra
- go get github.com/spf13/viper
- go get github.com/McKael/madon
- go get github.com/ghodss/yaml
- go get github.com/pkg/errors
- go get github.com/kr/text
- go get github.com/mattn/go-isatty
- go get github.com/stretchr/testify/assert