]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - .travis.yml
q3map2/help: some improvements
[xonotic/netradiant.git] / .travis.yml
1 language: c++
2
3 sudo: required
4
5 services:
6   - docker
7
8 os:
9   - linux
10   - osx
11
12 compiler:
13   - clang
14   - gcc
15
16 before_script:
17   - cmake --version
18   - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
19         sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" &&
20         sudo apt-get -qq update &&
21         sudo apt-get -qq -f install &&
22         sudo apt-get -qq install libgtk2.0-dev libgtkglext1-dev libminizip-dev;
23     fi
24   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
25         brew update &&
26         brew install gtkglext &&
27         brew link --force gettext;
28     fi
29
30 script:
31   - cmake -H. -Bbuild
32   - cmake --build build -- -j4