summaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* travis: whitelist travis* branchesRuediger Meier2015-03-161-0/+1
| | | | | | Sometimes we may want to test non-master branches. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis: move install script to .travis-functions.shRuediger Meier2015-03-161-11/+2Star
| | | | | | | | | | | | | | | | | Now this snippet can be re-used by non-travis systems. For example on drone.io we can use this simple build script: ...... MAKE_CHECK="root" source ./.travis-functions.sh travis_install_script || exit travis_before_script || exit ret=0 travis_script || ret=$? travis_after_script exit $ret ...... Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis: whitelist branchesKarel Zak2014-09-091-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: apply travis clang PATH workaroundSami Kerola2014-08-211-0/+6
| | | | | | | | | | As seen in Travis build log the clang is not found, causing one of the tests to fail. This change adds a workaround from Travis issue 2607 to util-linux. Reference: https://travis-ci.org/karelzak/util-linux/jobs/33056101#L3630 Reference: https://github.com/travis-ci/travis-ci/issues/2607 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* travis-ci: refactor and add .travis-functions.shRuediger Meier2014-06-061-26/+8Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Travis yaml syntax, where we can only use shell one-liners, is awful and ugly. We add a real shell script and source it from .travis.yml. This commit squashes a lot changes because we don't want to pollute history with this meta CI stuff. Highlights of this commit: - enable make distcheck - cleanup configure options (enable all progs, with python and docs) - shorter config.log dump - out-of-tree build supported - workaround broken libtool on travis host - now it's easy to add temporary debugging stuff - testing locally is possible now What are we testing now: - gcc and clang compiler - configure mostly with --enable-all-programs, --with-python and --enable-gtk-doc - make check with and without root permissions - make distcheck - make install (with and without --prefix as well as DESTDIR=...) - usually we always build in-tree but distcheck does out-of-tree What do we want/expect at all: - This travis setup is intended to always work without fixing or updating this build script all the time. Thats why we only use a few configure flags. - We want to avoid predictable failures on travis host to not make developers tired of this machinery. Any tested feature which is known to be (sometimes) broken should be fixed or skipped as soon as possible. - If this works like wanted then in future almost any point in master commit history should at least survive the build and common tests on this reference host/arch. Moreover we will have a comparable, deterministic build log history. This could make bisecting real bugs easier. - It's not our goal to test any kind of config flags, host setup and arch combination. This would be done better by external build scripts which do not live within the project itself. - Of course this machinery can be also used to reproduce bugs with more exotic config and host setup by pushing a debug branch with modified travis script to github. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis-ci: enable root checksRuediger Meier2014-05-131-3/+12
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis-ci: minor cleanup and speedupRuediger Meier2014-05-131-13/+8Star
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis-ci: enable more features and update gettextRuediger Meier2014-03-291-6/+28
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis-ci: abort if make check failsRuediger Meier2014-03-141-1/+1
| | | | | | make check should work now on current travis build image. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* travis-ci: import travis yaml controllerRuediger Meier2014-02-261-0/+27
.travis.yml is used for automatic builds on travis build farm (https://travis-ci.org/) if the travis service hook is enabled for the repo on github. This inital yaml controller will run 2 different compilers (gcc, clang). The test suite currently fails, that's why we don't abort yet.