Fix typos in travis config.

Hooray for testing travis configs via pushing to master.
This commit is contained in:
Jesse Beder
2016-04-01 18:17:58 -05:00
parent 2176fd994e
commit 2a02cee1c8

View File

@@ -8,11 +8,10 @@ compiler:
before_install: before_install:
- | - |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& sudo apt-get update -qq && sudo apt-get update -qq \
if [ "$CXX" = "g++" ]; then && if [ "$CXX" == "g++" ]; then
sudo apt-get install -qq g++-4.7 sudo apt-get install -qq g++-4.7 && export CXX="g++-4.7" CC="gcc-4.7"
&& export CXX="g++-4.7" CC="gcc-4.7"
fi fi
fi fi
before_script: before_script: