mark2web/vendor/github.com/gosuri/uilive/.travis.yml
Sebastian Frank a781485c0a
Some checks failed
continuous-integration/drone/push Build is failing
no git submodules
2022-02-28 10:28:34 +01:00

29 lines
613 B
YAML

language: go
sudo: false
matrix:
include:
- go: 1.11.x
os: linux
- go: 1.12.x
os: linux
- go: 1.11.x
os: linux
env: CROSS_COMPILE=true
- go: 1.12.x
os: linux
env: CROSS_COMPILE=true
- go: 1.11.x
os: osx
- go: 1.12.x
os: osx
install:
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$CROSS_COMPILE" = "true" ]; then go get github.com/mattn/go-isatty ; fi
- go get -t -v ./...
script:
- go build
- go test
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$CROSS_COMPILE" = "true" ]; then env GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -v; fi