wxWidgets/.travis.yml
2015-12-17 08:58:10 -07:00

42 lines
947 B
YAML

# 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
sudo: required
compiler: gcc
branches:
only:
- master
- WX_3_0_BRANCH
notifications:
email:
recipients:
- vadim@wxwidgets.org
on_success: change
on_failure: change
before_install:
- sudo apt-get update
- 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 $wxCONFIGURE_FLAGS
- make
- make -C tests
- pushd tests
- ./test -t
- popd
- make samples
- sudo make install
- make -C samples/minimal -f makefile.unx