Merge pull request #3140 from linux-on-ibm-z/travis-s390x

Add s390x support for travis
This commit is contained in:
Manish Tomar 2020-07-30 16:15:55 -07:00 committed by GitHub
commit 1d0ea8ed7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,14 @@
dist: trusty dist: bionic
sudo: required sudo: required
# setup travis so that we can run containers for integration tests # setup travis so that we can run containers for integration tests
services: services:
- docker - docker
jobs:
include:
- arch: amd64
- arch: s390x
language: go language: go
go: go:
@ -34,7 +39,7 @@ script:
- export GOOS=$TRAVIS_GOOS - export GOOS=$TRAVIS_GOOS
- export CGO_ENABLED=$TRAVIS_CGO_ENABLED - export CGO_ENABLED=$TRAVIS_CGO_ENABLED
- DCO_VERBOSITY=-q script/validate/dco - DCO_VERBOSITY=-q script/validate/dco
- GOOS=linux GO111MODULE=off script/setup/install-dev-tools - GOOS=linux GO111MODULE=on script/setup/install-dev-tools
- script/validate/vendor - script/validate/vendor
- go build -i . - go build -i .
- make check - make check