mirror of
https://github.com/stretchr/testify.git
synced 2025-05-01 04:59:43 +00:00
What === Add `go.mod` and `go.sum`, using `Go 1.11`. Why === Now that golang/go#24301 has been accepted, lets start using go.mod files alongside Godep, and keep the two in sync. Notes === There are no changes required to testify to support go.mod. The files were generated by running `go build` and `go mod tidy. Merging === This PR is intended to be merged after #659 which adds Go1.11 to the list of supported builds.
20 lines
353 B
YAML
20 lines
353 B
YAML
language: go
|
|
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- go: "1.8.x"
|
|
- go: "1.9.x"
|
|
- go: "1.10.x"
|
|
- go: "1.11.x"
|
|
env: GO111MODULE=off
|
|
- go: "1.11.x"
|
|
env: GO111MODULE=on
|
|
- go: tip
|
|
script:
|
|
- ./.travis.gogenerate.sh
|
|
- ./.travis.gofmt.sh
|
|
- ./.travis.govet.sh
|
|
- go test -v -race $(go list ./... | grep -v vendor)
|