Commit Graph

13 Commits

Author SHA1 Message Date
Vadim Zeitlin
2bd179a2fc Combine all Travis CI commands into a single one
Don't build if configure failed and don't build tests if building the library
failed and so on: contrary to the expectations, Travis continues to execute
the rest of the commands even if a previous one had failed, so chain them all
explicitly together using "&&" to make sure we fail as soon as possible.

See https://github.com/travis-ci/travis-ci/issues/1066
2016-01-30 18:42:46 +01:00
Vadim Zeitlin
9f15ca5f53 Don't use "-B" make option in Travis CI builds
This just seems unnecessary.
2016-01-29 15:16:15 +01:00
Vadim Zeitlin
9e6af23062 Use -stdlib=libc++ explicitly with clang under OS X in Travis CI
Fix the compilation of the sample using non configure-generated makefile in OS
X Travis CI build.
2016-01-28 15:15:59 +01:00
Vadim Zeitlin
e6db20d908 Pass -std=c++11 when using Unix makefile on Travis explicitly
wx-config doesn't include -std=c++11 in its output currently and it's not
clear whether it should (consider c++11 vs gnu++11 or even vs c++14), so add
this compiler option explicitly in C++11 Travis builds.
2016-01-25 01:56:10 +01:00
Vadim Zeitlin
6a3b6600dd Test builds with newer g++, clang and OS X on Travis CI
Configure the build matrix to test building on more platforms and using clang
as well and also test C++11 builds using both g++ and clang.
2016-01-24 21:26:43 +01:00
Vadim Zeitlin
844a7e426a Extract Travis before install script steps into a separate file
This allows to do make these steps more complicated, e.g. avoid using apt-get
under non-Linux (and even non-Debian/Ubuntu) platforms.

Also install GTK+ development package explicitly, while it's already available
on the older Travis Ubuntu 12.04 VMs, this is not the case for the newer 14.04
ones.
2016-01-24 21:25:31 +01:00
Vadim Zeitlin
c86168132d Really check building using the installed version in Travis builds
The command to do this at the end of the script didn't actually do anything
because the minimal sample had been already built in tree before.
2016-01-24 21:25:30 +01:00
Vadim Zeitlin
3ea3be5bcb Make Travis logs more readable by folding the different sections
See https://github.com/travis-ci/travis-ci/issues/2285 for more information
about log folding on Travis.
2016-01-24 21:25:30 +01:00
Bryan Petty
a775d57f97 Update apt sources in Travis CI builds. 2015-12-17 08:58:10 -07:00
Vadim Zeitlin
75e88aca55 Build 3.0 branch on Travis as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-16 10:53:51 +00:00
Vadim Zeitlin
985addd986 Update Travis configuration to run tests and build more configurations.
Install libcppunit-dev in order to be able to run the unit tests (at least the
non-GUI ones for now).

Also build in several configurations: shared/static, multilib/monolithic and
also STL. This should help to find problems appearing only in some specific
build variants.

Closes #15369.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-08-07 11:08:21 +00:00
Vadim Zeitlin
19d7382a29 Disable tests in Travis configuration.
As cppunit is not available, building tests fails.

Also disable optimizations in an attempt to make the build faster as we risk
being killed because it takes so long.

Finally, test compilation of the minimal sample using the installed library
for completeness.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-25 23:36:07 +00:00
Vadim Zeitlin
d57d8c21d1 Add a configuration file for Travis CI system.
Try to use Travis in addition to buildbot to see if it can be useful for us.

Closes #15355.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-25 21:55:17 +00:00