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
|
2015-12-17 14:57:34 +00:00
|
|
|
sudo: required
|
2013-07-25 21:55:17 +00:00
|
|
|
|
2015-12-30 14:56:44 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
- compiler: gcc
|
2017-11-03 17:42:28 +00:00
|
|
|
env: wxCONFIGURE_FLAGS="--enable-utf8 --enable-utf8only --enable-monolithic"
|
2015-12-30 14:56:44 +00:00
|
|
|
- dist: trusty
|
|
|
|
compiler: gcc
|
|
|
|
- dist: trusty
|
|
|
|
compiler: gcc
|
2016-01-25 00:26:33 +00:00
|
|
|
env: wxCONFIGURE_FLAGS="--enable-cxx11 --enable-stl" wxMAKEFILE_FLAGS="CXXFLAGS=-std=c++11"
|
2015-12-30 14:56:44 +00:00
|
|
|
- dist: trusty
|
|
|
|
compiler: clang
|
|
|
|
env: wxCONFIGURE_FLAGS="--disable-shared"
|
|
|
|
- os: osx
|
2016-12-12 22:04:53 +00:00
|
|
|
osx_image: xcode6.4
|
2015-12-30 14:56:44 +00:00
|
|
|
compiler: clang
|
2017-01-07 19:05:00 +00:00
|
|
|
env: wxCONFIGURE_FLAGS="--enable-cxx11" wxMAKEFILE_FLAGS="CXXFLAGS=-std=c++11" wxSKIP_SAMPLES=1
|
2013-07-25 21:55:17 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-05-16 10:53:51 +00:00
|
|
|
- WX_3_0_BRANCH
|
2013-07-25 21:55:17 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- vadim@wxwidgets.org
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
|
|
|
|
2015-12-30 17:03:53 +00:00
|
|
|
before_install: ./build/tools/before_install.sh
|
2013-08-07 11:08:21 +00:00
|
|
|
|
2017-01-06 23:14:26 +00:00
|
|
|
script:
|
|
|
|
- set -e && echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r'
|
|
|
|
- ./configure --disable-optimise $wxCONFIGURE_FLAGS
|
|
|
|
- echo -en 'travis_fold:end:script.configure\\r'
|
|
|
|
- echo 'Building...' && echo -en 'travis_fold:start:script.build\\r'
|
|
|
|
- make
|
|
|
|
- echo -en 'travis_fold:end:script.build\\r'
|
2017-08-25 12:22:43 +00:00
|
|
|
- echo 'Building tests...' && echo -en 'travis_fold:start:script.tests\\r'
|
|
|
|
- make -C tests
|
|
|
|
- echo -en 'travis_fold:end:script.tests\\r'
|
|
|
|
- echo 'Testing...' && echo -en 'travis_fold:start:script.testing\\r'
|
2017-11-01 22:55:49 +00:00
|
|
|
- pushd tests && ./test && popd
|
2017-08-25 12:22:43 +00:00
|
|
|
- echo -en 'travis_fold:end:script.testing\\r'
|
2017-01-06 23:14:26 +00:00
|
|
|
- echo 'Building samples...' && echo -en 'travis_fold:start:script.samples\\r'
|
|
|
|
- (test "$wxSKIP_SAMPLES" && echo 'SKIPPED') || make samples
|
|
|
|
- echo -en 'travis_fold:end:script.samples\\r'
|
|
|
|
- echo 'Installing...' && echo -en 'travis_fold:start:script.install\\r'
|
|
|
|
- sudo make install
|
|
|
|
- echo -en 'travis_fold:end:script.install\\r'
|
|
|
|
- echo 'Testing installation...' && echo -en 'travis_fold:start:script.testinstall\\r'
|
2017-01-07 19:06:28 +00:00
|
|
|
- make -C samples/minimal -f makefile.unx clean
|
2017-01-06 23:14:26 +00:00
|
|
|
- make -C samples/minimal -f makefile.unx $wxMAKEFILE_FLAGS
|
|
|
|
- echo -en 'travis_fold:end:script.testinstall\\r'
|