Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test cross-compiling within travis #882

Merged
merged 1 commit into from
Nov 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ go_import_path: github.com/kubernetes/kompose
matrix:
include:
- go: 1.6
# Only build docs once
env: BUILD_DOCS=yes
env:
# Only build docs once
- BUILD_DOCS=yes
# Test cross-compile as well
- CROSS_COMPILE=yes
- go: 1.7
- go: 1.8

Expand All @@ -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
Expand All @@ -44,4 +49,4 @@ deploy:
secure: "JPPfZgbC3h+KuuQsNH21owvV773Ecpj1AUTy54maToLBChnL54WbkFrmb2yzGYBy3LDSznKCet6S1UZj7iWvrrkYw0fSJhR0ICeDt5cxxg6R8zO4DwsiCeSWSlwnOyFjsaweg7lNI35NvlmtBa21uoP4WZl5zaur+mV49jf8JTYQe2BcUQGq1C+olEXiEv8hMRjWW2N5WGkoJHGovX0NbVbiI/S06vdTmlGFBvfL0ZOOvH7sesGkRk4Gqie61pinsQQKxiz6OETCk8E0dQUP9C3o+ZsiiwSrL/und3RoYLyqb4WKzjqDUPxFfgtWLegIVkhp5/KZywJDUQnQ5h2bSbRHakkrZPu9tFgb9nMQjMa5az5WEaJe3nErFfq6B1fawcCvXkUHrujHETEW56PgR1gENkdxD8us/N4897wtCHOJutBav9V8Wb11PSNJupNR7Ta2+gBVG/pHJP3G9/PrrNopDZf5epyP0DU8bKDYTV8YEJU4rv/BGMqYsShrH5abxB4ofk1hmTg9PQFl/k4tVjlutT8W5Y8Hmjmhgmb4UC1Zy4XaVGWIo3ts5vWWj93KWeCyOm+oSSGbvItT5eT7FMMs2RQHFZ8CDfDpTLqmqMBMwZfF7laL4z4imi2XuEgxSbWTlXCkfxpZaFaWixN2MO1rkg6AzklP2ztvXp1j3eg="
skip_cleanup: true
on:
go: 1.8
go: 1.8