build: tweaking travis script

This commit is contained in:
Eric Wasylishen 2016-10-02 21:23:56 -06:00
parent 0424d87a3d
commit 2b0abed4dc
1 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,5 @@
language: cpp
matrix:
include:
- os: linux
@ -5,13 +7,10 @@ matrix:
sudo: required
- os: osx
osx_image: xcode7.2
language: cpp
compiler:
- clang
- gcc
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install groff; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install groff ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y groff; fi
script: