Skip to content
Permalink
Browse files

travis: do not use OVERRIDE_CC if empty

Fixes macOS build where OVERRIDE_CC and OVERRIDE_CXX are not set.

Reported-by: Jay Satiro
  • Loading branch information
Lekensteyn committed Nov 30, 2019
1 parent 0044443 commit 5cdef2fd8bf696bd68b4ead5612f29fcc46b61e2
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
@@ -439,8 +439,8 @@ matrix:
- zlib1g-dev

before_install:
- export "${OVERRIDE_CC}"
- export "${OVERRIDE_CXX}"
- [ -z "$OVERRIDE_CC" ] || export "${OVERRIDE_CC}"
- [ -z "$OVERRIDE_CXX" ] || export "${OVERRIDE_CXX}"

install:
- if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi

0 comments on commit 5cdef2f

Please sign in to comment.
You can’t perform that action at this time.