wxWidgets/.travis.yml
Vadim Zeitlin 985addd986 Update Travis configuration to run tests and build more configurations.
Install libcppunit-dev in order to be able to run the unit tests (at least the
non-GUI ones for now).

Also build in several configurations: shared/static, multilib/monolithic and
also STL. This should help to find problems appearing only in some specific
build variants.

Closes #15369.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-08-07 11:08:21 +00:00

39 lines
882 B
YAML

# This is the control file for Travis continuous integration system.
#
# It is used automatically for the repositories on Github if it's found in the
# root directory of the project.
language: cpp
compiler: gcc
branches:
only:
- master
notifications:
email:
recipients:
- vadim@wxwidgets.org
on_success: change
on_failure: change
before_install:
- sudo apt-get install -y libcppunit-dev
env:
- wxCONFIGURE_FLAGS=
- wxCONFIGURE_FLAGS="--disable-shared"
- wxCONFIGURE_FLAGS="--disable-precomp-headers --enable-monolithic"
- wxCONFIGURE_FLAGS="--enable-stl" CXXFLAGS=-std=c++0x
script:
- ./configure --disable-optimise $wxCONFIGURE_FLAGS
- make
- make -C tests
- pushd tests
- ./test -t
- popd
- make samples
- sudo make install
- make -C samples/minimal -f makefile.unx