Permalink
Browse files

[travis] test builds using clang

  • Loading branch information...
tehnick committed Feb 2, 2017
1 parent 15293eb commit cae7093639eb1c0a63f7a9f08cfc7c19d1fb0989
Showing with 8 additions and 0 deletions.
  1. +3 −0 .travis.yml
  2. +5 −0 tests/travis/build-and-test
View
@@ -2,6 +2,9 @@ sudo: required
dist: trusty
language: cpp
cache: apt
compiler:
- gcc
- clang
env:
- QT_SELECT=qt4 ; CONFIG=minimal
- QT_SELECT=qt4 ; CONFIG=minimal-static
@@ -12,6 +12,11 @@ if [ -n "$CXX" ]; then
QMAKE_ARGS="$QMAKE_ARGS QMAKE_CXX=$CXX"
fi
if [ "$CXX" = "clang++" ]; then
QMAKE_ARGS="$QMAKE_ARGS QMAKE_LINK=clang++"
QMAKE_ARGS="$QMAKE_ARGS QMAKE_LINK_SHLIB=clang++"
fi
case "$CONFIG" in
full*)
QMAKE_ARGS="$QMAKE_ARGS QXMPP_USE_DOXYGEN=1 QXMPP_USE_OPUS=1 QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1"

0 comments on commit cae7093

Please sign in to comment.