2013-07-25 21:55:17 +00:00
|
|
|
# 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
|
|
|
|
|
2013-08-07 11:08:21 +00:00
|
|
|
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
|
|
|
|
|
2013-07-25 21:55:17 +00:00
|
|
|
script:
|
2013-08-07 11:08:21 +00:00
|
|
|
- ./configure --disable-optimise $wxCONFIGURE_FLAGS
|
2013-07-25 23:36:07 +00:00
|
|
|
- make
|
2013-08-07 11:08:21 +00:00
|
|
|
- make -C tests
|
|
|
|
- pushd tests
|
|
|
|
- ./test -t
|
|
|
|
- popd
|
2013-07-25 23:36:07 +00:00
|
|
|
- make samples
|
|
|
|
- sudo make install
|
|
|
|
- make -C samples/minimal -f makefile.unx
|