summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/viper/.travis.yml
blob: ed677bbb814a595093ca6143b23928ec557aee14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
go_import_path: github.com/spf13/viper

language: go

env:
  global:
    - GO111MODULE="on"
    - GOFLAGS="-mod=readonly"

go:
  - 1.11.x
  - 1.12.x
  - 1.13.x
  - tip

os:
  - linux
  - osx

matrix:
  allow_failures:
    - go: tip
  fast_finish: true

script:
  - go install ./...
  - diff -u <(echo -n) <(gofmt -d .)
  - go test -v ./...

after_success:
  - go get -u -d github.com/spf13/hugo
  - cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -