Skip to content

Commit

Permalink
Fix typos in travis config.
Browse files Browse the repository at this point in the history
Hooray for testing travis configs via pushing to master.
  • Loading branch information
jbeder committed Apr 1, 2016
1 parent 2176fd9 commit 2a02cee
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ compiler:
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
&& sudo apt-get update -qq
if [ "$CXX" = "g++" ]; then
sudo apt-get install -qq g++-4.7
&& export CXX="g++-4.7" CC="gcc-4.7"
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& sudo apt-get update -qq \
&& if [ "$CXX" == "g++" ]; then
sudo apt-get install -qq g++-4.7 && export CXX="g++-4.7" CC="gcc-4.7"
fi
fi
before_script:
Expand Down

0 comments on commit 2a02cee

Please sign in to comment.