Commit 33133b67 authored by Tad Hunt's avatar Tad Hunt
Browse files

fix travis-ci OSX build

parent 3e3d075a
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -6,9 +6,12 @@ compiler:
  - clang
  - gcc
before_script:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
  - sudo apt-get install -y gcc-4.8
  - if [ "$TRAVIS_OS_NAME" = "linux" ] ; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
  - if [ "$TRAVIS_OS_NAME" = "linux" ] ; then sudo apt-get update -qq; fi
  - if [ "$TRAVIS_OS_NAME" = "linux" ] ; then sudo apt-get install -y gcc-4.8; fi
  - if [ "$TRAVIS_OS_NAME" = "osx"   ] ; then sudo brew update ; fi
  - if [ "$TRAVIS_OS_NAME" = "osx"   ] ; then sudo brew outdated openssl || brew upgrade openssl ; fi
  - if [ "$TRAVIS_OS_NAME" = "osx"   ] ; then export OPENSSL_PATH=/usr/local/opt/openssl ; fi
  - if [ $CC == 'gcc'                ] ; then export CC=gcc-4.8; fi;
  - bundle install
  - make clean