]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - .travis.yml
Merge branch 'cleanup' of github.com:graphitemaster/gmqcc into cleanup
[xonotic/gmqcc.git] / .travis.yml
index 44bd8c165eb6446a08113ae3e4b7b1294b3bad9d..830f373cebfae37fa14ed957173b775db810b39d 100644 (file)
@@ -1,8 +1,32 @@
-language: c
+language: cpp
+
 compiler:
   - gcc
   - clang
-# Change this to your needs
-script: make && make check
+
+before_install:
+  # g++4.8.1
+  - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
+  # clang 3.4
+  - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
+  - sudo apt-get update -qq
+
+install:
+  # g++4.8.1
+  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
+  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
+  # clang 3.4
+  - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
+  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
+
+script:
+    - make test
+
 notifications:
-    irc: "irc.freenode.org#kf-engine"
+    irc:
+        channels:
+          - "irc.freenode.org#gmqcc"
+        template:
+          - "[%{commit} : %{author}] %{message}"
+          - "%{build_url}"
+        skip_join: true