Test builds with newer g++, clang and OS X on Travis CI

Configure the build matrix to test building on more platforms and using clang
as well and also test C++11 builds using both g++ and clang.
This commit is contained in:
Vadim Zeitlin
2015-12-30 15:56:44 +01:00
parent 844a7e426a
commit 6a3b6600dd
2 changed files with 22 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
#
# This script is used by Travis CI to install the dependencies before building
# wxWidgets but can also be run by hand if necessary but currently it only
# works for Ubuntu 12.04 and 14.04 used by Travis.
# works for Ubuntu 12.04 and 14.04 and OS X used by Travis builds.
SUDO=sudo
@@ -13,4 +13,9 @@ case $(uname -s) in
$SUDO apt-get install -y libcppunit-dev libgtk2.0-dev libnotify-dev
fi
;;
Darwin)
brew update
brew install cppunit --universal
;;
esac