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
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
dist: trusty
dist: bionic
sudo: required
# setup travis so that we can run containers for integration tests
services:
- docker
jobs:
include:
- arch: amd64
- arch: s390x
language: go
go:
@ -34,7 +39,7 @@ script:
- export GOOS=$TRAVIS_GOOS
- export CGO_ENABLED=$TRAVIS_CGO_ENABLED
- 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
- go build -i .
- make check