language: c++ sudo: required services: - docker os: - linux - osx compiler: - clang - gcc before_script: - cmake --version - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" && sudo apt-get -qq update && sudo apt-get -qq -f install && sudo apt-get -qq install libgtk2.0-dev libgtkglext1-dev libminizip-dev; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew install gtkglext && brew link --force gettext; fi script: - cmake -H. -Bbuild - cmake --build build -- -j4