...
1go_import_path: github.com/ory/viper
2
3language: go
4
5env:
6 global:
7 - GO111MODULE="on"
8 - GOFLAGS="-mod=readonly"
9
10go:
11 - 1.11.x
12 - 1.12.x
13 - tip
14
15os:
16 - linux
17 - osx
18
19matrix:
20 allow_failures:
21 - go: tip
22 fast_finish: true
23
24script:
25 - go install ./...
26 - diff -u <(echo -n) <(gofmt -d .)
27 - go test -v ./...
28
29after_success:
30 - go get -u -d github.com/spf13/hugo
31 - cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
View as plain text