[Tests] explicitly set `$CXX` and `$CC`

Jordan Harband 2016-08-15 14:45:42 -07:00
parent c7515bf108
commit a5d7ff7440
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ install:
- chmod +x /tmp/urchin/package/urchin
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
script:
- export CXX=g++-4.8
- export CC=gcc-4.8
- export PATH=$(echo $PATH | sed 's/::/:/')
- export NVM_DIR="${TRAVIS_BUILD_DIR}"
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh && shellcheck -s bash install.sh ; fi