language: cpp sudo: required dist: trusty install: - if [[ $TRAVIS_OS_NAME == "osx" ]]; then bash ci-scripts/osx/travis-install.sh; fi - if [[ $TRAVIS_OS_NAME == "linux" ]]; then bash ci-scripts/linux/travis-install.sh; fi script: - if [[ $TRAVIS_OS_NAME == "osx" ]]; then bash ci-scripts/osx/travis-build.sh; fi - if [[ $TRAVIS_OS_NAME == "linux" ]]; then bash ci-scripts/linux/travis-build.sh; fi matrix: include: - os: linux compiler: gcc - os: linux compiler: clang - os: osx osx_image: xcode8.3