summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* travis-ci: Add and use infrastructure to build and test in DockerSimon McVittie2016-11-291-2/+4
| | | | | | | | | | | | | Debian stable, Debian testing and Ubuntu LTS provide a reasonable spectrum of old and new distributions. I'm only doing one build on each to avoid a combinatorial explosion of options. The Docker images don't have any deb-src apt sources set up, so don't use `apt-get build-dep`; just include dependencies manually. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98889
* travis-ci: add an install script instead of open-coding it in .travis.ymlSimon McVittie2016-11-291-38/+1
| | | | | | | Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> [smcv: move comment to install script as suggested] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98889
* travis-ci: consistently use ci_* for parameter variablesSimon McVittie2016-11-291-11/+11
| | | | | | | | | This aligns it with the more generic script based on this one that I sent to OSTree. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98889
* travis-ci: add an explicit copyright/license statementSimon McVittie2016-11-291-0/+22
| | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98889
* Rename distro-style CI build from "release" to "production"Simon McVittie2016-11-291-1/+1
| | | | | | | | | | | | | | | | | | This avoids confusion with the meaning of "release" used by AX_IS_RELEASE. AX_IS_RELEASE is about facts about the source tree, namely the distinction between releases (tags) and random snapshots. The build variants in .travis.yml are about facts about the build being done, namely the distinction between production and debug/developer builds. Production builds are sometimes referred to as "release builds", for example in typical CMake and MSVC build environments, but a different term seems better here. Signed-off-by: Simon McVittie <smcv@debian.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97357 [smcv: cherry-picked from master to dbus-1.10 to get the Travis-CI setup consistent between the two branches]
* Update autoconf-archive, and use snapshot.debian.orgSimon McVittie2016-11-291-1/+1
| | | | | | | | This way the link won't expire in future. Signed-off-by: Simon McVittie <smcv@debian.org> [smcv: cherry-picked from master to dbus-1.10 to get the Travis-CI setup consistent between the two branches; it is not strictly needed on dbus-1.10]
* Travis-CI: fetch a newer autoconf-archive from DebianSimon McVittie2016-11-291-1/+6
| | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: cherry-picked from master to dbus-1.10 to get the Travis-CI setup consistent between the two branches; it is not strictly needed on dbus-1.10]
* Travis-CI: install new autoconf-archive build-dependencySimon McVittie2016-11-291-0/+1
| | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: cherry-picked from master to dbus-1.10 to get the Travis-CI setup consistent between the two branches; it is not strictly needed on dbus-1.10]
* Install mingw build-dependencies in a different orderSimon McVittie2016-11-221-3/+3
| | | | | | | | | | This avoids installing the build-dependencies for dbus and its tests, then uninstalling them all because they rely on libraries whose versions are older than the ones needed by wine:i386 (and apparently apt prefers to remove those libraries rather than upgrade them). Doing it this way round seems to convince apt to do the right thing. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Add a regression test for dbus-launch in X11Simon McVittie2016-08-121-0/+2
| | | | | | [Modified for the dbus-1.10 branch: DBUS_USE_TEST_BINARY is needed.] Signed-off-by: Simon McVittie <smcv@debian.org>
* travis: compile with mingw in both production and debug flavoursSimon McVittie2016-05-181-0/+1
| | | | | | | | | | | This should detect anything that is only a build failure when embedded tests or verbose mode are enabled, such as the missing include fixed in commit 4858faf. I'm not enabling embedded tests and verbose mode orthogonally because we don't want CI builds to take too long. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> (cherry picked from commit 8f6fe1451ead14b82475177f40bbc2c256cba876)
* Disable travis-ci apt source for Google ChromeSimon McVittie2016-03-021-0/+2
| | | | | | | This prevents adding i386 as a foreign architecture. We don't need Chrome anyway. Signed-off-by: Simon McVittie <smcv@debian.org>
* add travis-ci.org build machinerySimon McVittie2015-12-021-0/+47
The idea is that .travis.yml is specific to Travis-CI, but most of the actual work is done in tools/ci-build.sh, which should be reasonably CI-platform-agnostic (it currently assumes that build-dependendencies are preinstalled, that the "native" platform we're building on is GNU/Linux or something very close, and that "mingw" means mingw-w64 as packaged in Debian and Ubuntu). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93194 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>