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
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
+ - ./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