Skip to content

Commit

Permalink
robin is bad at bash
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeits committed Dec 16, 2015
1 parent e86c783 commit 93168b4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ branches:
- stable

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 apt-get update -qq
- sudo apt-get install gcc-4.8 g++-4.8
- elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
- elif [ "$TRAVIS_OS_NAME" = "osx" ]
- then
- brew update
- brew install gcc
- brew install g++
Expand All @@ -30,9 +32,11 @@ before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- mkdir build
- make download-all
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
- if [ "$TRAVIS_OS_NAME" = "linux" ]
- then
- sudo ./install_prereqs.sh ubuntu
- elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
- elif [ "$TRAVIS_OS_NAME" = "osx" ]
- then
- ./install_prereqs homebrew
- fi
- make
Expand Down

0 comments on commit 93168b4

Please sign in to comment.