travis: do not use OVERRIDE_CC or OVERRIDE_CXX if empty

Fixes the macOS builds where OVERRIDE_CC and OVERRIDE_CXX are not set.

Reported-by: Jay Satiro
Fixes #4659
Closes #4661
Closes #4664
This commit is contained in:
Peter Wu 2019-11-30 18:42:20 +00:00 committed by Daniel Stenberg
parent 5d576afc5e
commit 48da3ac67b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 2 additions and 2 deletions

View File

@ -439,8 +439,8 @@ matrix:
- zlib1g-dev
before_install:
- export "${OVERRIDE_CC}"
- export "${OVERRIDE_CXX}"
- export "${OVERRIDE_CC-blank=}"
- export "${OVERRIDE_CXX-blank=}"
install:
- if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi