blob: 5afcb2096196a84671321178b04c07a0f04cbb81 [file] [log] [blame]
khenaidooffe076b2019-01-15 16:08:08 -05001language: go
2
3matrix:
4 include:
5 - go: 1.9.4
6 - go: 1.10.0
7 - go: tip
8 allow_failures:
9 - go: tip
10
11before_install:
12 - mkdir -p bin
13 - curl -Lso bin/shellcheck https://github.com/caarlos0/shellcheck-docker/releases/download/v0.4.3/shellcheck
14 - chmod +x bin/shellcheck
15script:
16 - PATH=$PATH:$PWD/bin go test -v ./...
17 - go build
18 - diff -u <(echo -n) <(gofmt -d -s .)
19 - if [ -z $NOVET ]; then
20 diff -u <(echo -n) <(go tool vet . 2>&1 | grep -vE 'ExampleCommand|bash_completions.*Fprint');
21 fi