From: Vadim Zeitlin Date: Wed, 7 Aug 2013 11:08:21 +0000 (+0000) Subject: Update Travis configuration to run tests and build more configurations. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/985addd986439eb3506192ad153e6af214e931ba 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 --- diff --git a/.travis.yml b/.travis.yml index f9ee9d626d..7f19bdead3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,22 @@ notifications: 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