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
|
|
|
|
2015-12-30 09:56:44 -05:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
- compiler: gcc
|
|
|
|
env: wxCONFIGURE_FLAGS="--disable-precomp-headers --enable-monolithic"
|
|
|
|
- dist: trusty
|
|
|
|
compiler: gcc
|
|
|
|
- dist: trusty
|
|
|
|
compiler: gcc
|
2016-01-24 19:26:33 -05:00
|
|
|
env: wxCONFIGURE_FLAGS="--enable-cxx11 --enable-stl" wxMAKEFILE_FLAGS="CXXFLAGS=-std=c++11"
|
2015-12-30 09:56:44 -05:00
|
|
|
- dist: trusty
|
|
|
|
compiler: clang
|
|
|
|
env: wxCONFIGURE_FLAGS="--disable-shared"
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2016-01-28 09:15:59 -05:00
|
|
|
env: wxCONFIGURE_FLAGS="--enable-cxx11" wxMAKEFILE_FLAGS="CXXFLAGS='-std=c++11 -stdlib=libc++'"
|
2013-07-25 17:55:17 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2015-12-30 12:03:53 -05:00
|
|
|
before_install: ./build/tools/before_install.sh
|
2013-08-07 07:08:21 -04:00
|
|
|
|
2013-07-25 17:55:17 -04:00
|
|
|
script:
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo 'Configuring...' && echo -en 'travis_fold:start:script.1\\r'
|
2013-08-07 07:08:21 -04:00
|
|
|
- ./configure --disable-optimise $wxCONFIGURE_FLAGS
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo -en 'travis_fold:end:script.1\\r'
|
|
|
|
- echo 'Building...' && echo -en 'travis_fold:start:script.2\\r'
|
2013-07-25 19:36:07 -04:00
|
|
|
- make
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo -en 'travis_fold:end:script.2\\r'
|
|
|
|
- echo 'Testing...' && echo -en 'travis_fold:start:script.3\\r'
|
2013-08-07 07:08:21 -04:00
|
|
|
- make -C tests
|
|
|
|
- pushd tests
|
|
|
|
- ./test -t
|
|
|
|
- popd
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo -en 'travis_fold:end:script.3\\r'
|
|
|
|
- echo 'Building the samples...' && echo -en 'travis_fold:start:script.4\\r'
|
2013-07-25 19:36:07 -04:00
|
|
|
- make samples
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo -en 'travis_fold:end:script.4\\r'
|
|
|
|
- echo 'Installing...' && echo -en 'travis_fold:start:script.5\\r'
|
2013-07-25 19:36:07 -04:00
|
|
|
- sudo make install
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo -en 'travis_fold:end:script.5\\r'
|
|
|
|
- echo 'Testing building with the installed version...' && echo -en 'travis_fold:start:script.6\\r'
|
2016-01-29 09:16:15 -05:00
|
|
|
- make -C samples/minimal -f makefile.unx $wxMAKEFILE_FLAGS
|
2015-12-30 09:07:28 -05:00
|
|
|
- echo -en 'travis_fold:end:script.6\\r'
|