travis script with matrix

This commit is contained in:
NatureFreshMilk 2019-10-14 08:46:35 +02:00
parent 2d3ed2b22e
commit 6292f3bb17

View File

@ -1,14 +1,13 @@
language: go matrix:
sudo: false include:
- language: go
go: sudo: false
- 1.11.x go:
- 1.11.x
os: os:
- linux - linux
script:
script: - env GO111MODULE=on go get github.com/mjibson/esc
- env GO111MODULE=on go get github.com/mjibson/esc - env GO111MODULE=on go generate
- env GO111MODULE=on go generate - env GO111MODULE=on go build
- env GO111MODULE=on go build - env GO111MODULE=on go test ./...
- env GO111MODULE=on go test ./...