From f3de61ca779d49ac9fbd91e385a5ba7851dfa1d5 Mon Sep 17 00:00:00 2001 From: TimePath Date: Fri, 19 Feb 2016 16:49:02 +1100 Subject: [PATCH] Travis CI --- .travis.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d1f0e1db --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +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; + fi + - if [ "$TRAVIS_OS_NAME" == "osx" ]; then + brew update && + brew install gtkglext && + brew link --force gettext; + fi + +script: + - mkdir build && cd build + - cmake .. + - cmake --build . --target radiant -- -j4 -- 2.39.2