Catch cross-compiliation build failures at Travis.

This commit is contained in:
Sean Chittenden 2017-02-01 10:22:27 -08:00
parent b9ea658cce
commit 2b460466ed
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 5 additions and 4 deletions

View File

@ -12,10 +12,11 @@ BUILD_TAGS?=consul
# all builds binaries for all targets
all: bin
ci:
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then \
$(MAKE) bin ;\
fi
# ci:
# if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then \
# $(MAKE) bin ;\
# fi
ci: bin test
@$(MAKE) test
bin: tools