6a3b6600dd
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.
22 lines
547 B
Bash
Executable File
22 lines
547 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# 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 and OS X used by Travis builds.
|
|
|
|
SUDO=sudo
|
|
|
|
case $(uname -s) in
|
|
Linux)
|
|
if [ -f /etc/apt/sources.list ]; then
|
|
$SUDO apt-get update
|
|
$SUDO apt-get install -y libcppunit-dev libgtk2.0-dev libnotify-dev
|
|
fi
|
|
;;
|
|
|
|
Darwin)
|
|
brew update
|
|
brew install cppunit --universal
|
|
;;
|
|
esac
|