github.com/chenjiandongx/go-queue@v0.0.0-20191023082232-e2a36f382f84/.travis.yml (about)

     1  sudo: false
     2  language: go
     3  go:
     4    - 1.9.x
     5    - 1.10.x
     6    - 1.11.x
     7  install:
     8    - # Do nothing. This is needed to prevent default install action
     9    - # "go get -t -v ./..." from happening here (we want it to happen inside script step).
    10  script:
    11    - go get -t -v ./...
    12    - diff -u <(echo -n) <(gofmt -d -s .)
    13    - go tool vet .
    14    - go test -v -race ./...