chore: only alias CXX to specific gcc versions on Linux (#755)

There is no `g++-4.8` binary in OS X in Travis CI anymore for some
reason.

Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2016-10-07 14:28:40 -03:00 committed by GitHub
parent f28b5a859b
commit c8ae05949c

View File

@ -38,7 +38,7 @@ before_install:
- rvm use $RUBY_VERSION
install:
- if [ "$CXX" = "g++" ]; then
- if [ "$CXX" = "g++" ] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export CXX="g++-4.8" CC="gcc-4.8";
fi
- gem install scss_lint