Merge pull request #882 from cdrage/cross-compile-test

Test cross-compiling within travis
This commit is contained in:
Charlie Drage 2017-11-30 18:53:57 -05:00 committed by GitHub
commit 2f307b0f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,11 @@ go_import_path: github.com/kubernetes/kompose
matrix:
include:
- go: 1.6
env:
# Only build docs once
env: BUILD_DOCS=yes
- BUILD_DOCS=yes
# Test cross-compile as well
- CROSS_COMPILE=yes
- go: 1.7
- go: 1.8
@ -22,6 +25,8 @@ install:
script:
- make test
# Only cross-compile once
- if [ "$CROSS_COMPILE" == "yes" ]; then make cross; fi
after_success:
# gover collects all .coverprofile files and saves it to one file gover.coverprofile