[travis] Try building on Trusty
authorKhaled Hosny <khaledhosny@eglug.org>
Fri, 1 Jan 2016 20:36:19 +0000 (00:36 +0400)
committerKhaled Hosny <khaledhosny@eglug.org>
Fri, 1 Jan 2016 21:16:13 +0000 (01:16 +0400)
Trusty has gtk-doc 1.20 which has better markdown support which should
fix some of the brokenness in the newly added documentation. The build
seems to be as fast as the current container-based build on Precise.

.travis.yml

index 05d9647..f37b4b2 100644 (file)
@@ -1,8 +1,9 @@
 # Build Configuration for Travis
-sudo: false # Use Travis docker infrastructure
+sudo: required # For Trusty beta
 os:
   - linux
   - osx
+dist: trusty
 language: cpp
 compiler:
   - clang
@@ -11,7 +12,7 @@ env:
   global:
     - CPPFLAGS=""
     - CFLAGS="-Werror --coverage"
-    - CXXFLAGS="-Werror --coverage"
+    - CXXFLAGS="-Werror -Wno-deprecated-register --coverage" # glib uses register and clang raises a warning
     - LDFLAGS="--coverage"
 install:
   - if [ "$TRAVIS_OS_NAME" == "linux" ]; then pip install --user nose; fi