2013-07-25 17:55:17 -04: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
|
2015-12-17 09:57:34 -05:00
|
|
|
sudo: required
|
2013-07-25 17:55:17 -04:00
|
|
|
|
|
|
|
compiler: gcc
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-05-16 06:53:51 -04:00
|
|
|
- WX_3_0_BRANCH
|
2013-07-25 17:55:17 -04:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- vadim@wxwidgets.org
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
|
|
|
|
2013-08-07 07:08:21 -04:00
|
|
|
before_install:
|
2015-12-17 09:57:34 -05:00
|
|
|
- sudo apt-get update
|
2013-08-07 07:08:21 -04:00
|
|
|
- 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 17:55:17 -04:00
|
|
|
script:
|
2013-08-07 07:08:21 -04:00
|
|
|
- ./configure --disable-optimise $wxCONFIGURE_FLAGS
|
2013-07-25 19:36:07 -04:00
|
|
|
- make
|
2013-08-07 07:08:21 -04:00
|
|
|
- make -C tests
|
|
|
|
- pushd tests
|
|
|
|
- ./test -t
|
|
|
|
- popd
|
2013-07-25 19:36:07 -04:00
|
|
|
- make samples
|
|
|
|
- sudo make install
|
|
|
|
- make -C samples/minimal -f makefile.unx
|