]> git.xonotic.org Git - xonotic/gmqcc.git/blob - .travis.yml
Use std::vector for break and continue ast blocks
[xonotic/gmqcc.git] / .travis.yml
1 language: cpp
2
3 compiler:
4   - gcc
5   - clang
6
7 before_install:
8   # g++4.8.1
9   - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
10   # clang 3.4
11   - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
12   - sudo apt-get update -qq
13
14 install:
15   # g++4.8.1
16   - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
17   - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
18   # clang 3.4
19   - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
20   - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
21
22 script:
23     - make test
24
25 notifications:
26     irc:
27         channels:
28           - "irc.freenode.org#gmqcc"
29         template:
30           - "[%{commit} : %{author}] %{message}"
31           - "%{build_url}"
32         skip_join: true