about summary refs log tree commit diff
path: root/vendor/github.com/dustin/go-humanize/.travis.yml
blob: ac12e485a156bd8f59272865f79c3d1f36874595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo: false
language: go
go_import_path: github.com/dustin/go-humanize
go:
  - 1.13.x
  - 1.14.x
  - 1.15.x
  - 1.16.x
  - stable
  - master
matrix:
  allow_failures:
    - go: master
  fast_finish: true
install:
  - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
  - diff -u <(echo -n) <(gofmt -d -s .)
  - go vet .
  - go install -v -race ./...
  - go test -v -race ./...