travis: export the CC/CXX variables when set

Suggested-by: Peter Wu
Fixes #4637
Closes #4640
This commit is contained in:
Daniel Stenberg 2019-11-26 23:16:49 +01:00
parent 793e377675
commit 113db127ee
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:
- eval "${OVERRIDE_CC}"
- eval "${OVERRIDE_CXX}"
- export "${OVERRIDE_CC}"
- export "${OVERRIDE_CXX}"
install:
- if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi