aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Add Docker environment to test Qbs with Qt for AndroidRaphaël Cotty2020-01-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | The Docker images contains ndk r20 and qt 5.13.2 as well as 5.14.0. Containers can be started with the following command line: - docker-compose pull bionic-android-513 - docker-compose run --rm bionic-android-513 The current folder is mounted under /qbs. Assuming that Qbs has been built in the current directory and with release configuration, the autotests can be invoked with: docker-compose run --rm bionic-android-513 scripts/test-qt-for-android.sh \ release/install-root/usr/local/bin A job Travis CI job is added which builds Qt and runs the Android blackbox tests. Change-Id: I76b1901cb7c41f8b5b0122265c99c9b37b59f261 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Change Python package version on WindowsRichard Weickelt2020-01-091-2/+2
| | | | | | | | | Version 3.6.8 seems to be down quite often for whatever reason. Maybe selecting just "some" version is more stable. Change-Id: I4862c82ae0da38d5d942d77607db4e2312b49ae0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Enable clang-tidy job on TravisIvan Komissarov2019-12-051-0/+9
| | | | | | | | | | | | | | | This runs predefined clang-tidy checks on the QBS sources, excluding examples and tests Most checks are displayed as warings, however, some checks are treated as errors to avoid adding regressions in the new code clang-analyzer-* checks are not enabled due to performance reasons (otherwise, Travis job hits 50 min) Change-Id: I686003d2526a11d90fc74c88104b4357d67620d1 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Enable clcache on WindowsRichard Weickelt2019-11-261-2/+7
| | | | | | | | Works like ccache on Linux/macOS, but ccache-alike invocation requires an unreleased version. Change-Id: Ib206eef9d34514aa4a087cf38883241d58ee3992 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Enable ccache on Linux/DockerRichard Weickelt2019-11-251-6/+14
| | | | | | | | This speeds up CI builds a lot. Change-Id: I53962e1683b4dd923c3a7d254db24164a4e623a6 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Enable ccache on macOSIvan Komissarov2019-11-221-1/+5
| | | | | | | | | | Cold Cache: 27:47 (XCode 10.2) / 31:08 (XCode 11.0) Warm Cache: 22:53 (XCode 10.2) / 24:20 (XCode 11.0) Change-Id: I68449a1b921a63d1102c58255a6badb3098b4170 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Enable cpp.treatWarningsAsErrors when building Qbs on TravisIvan Komissarov2019-11-211-1/+1
| | | | | Change-Id: I45a6bbc31a5be8c20b0fe7877e1fc42833e68ddd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add Xcode 11 to CIRichard Weickelt2019-11-201-2/+6
| | | | | | | | | This requires Qbs 1.14.1. And while we are at it, we can also upgrade Qt to 5.12.6 in all environments. Task-number: QBS-1495 Change-Id: Iddb067cca37956f93c9bdf2acc95b2282a232b2b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update build environment and Bionic Docker imageRichard Weickelt2019-10-241-1/+1
| | | | | | | Update also the docs to refer to the Ubuntu image rather than Debian. Change-Id: I2c64f8f169c7a8ff9d5090ebc55c56bffd957659 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Remove superfluous calls to Windows DefenderRichard Weickelt2019-10-111-12/+0
| | | | | | | | They seem to no longer work and it is unclear whether they were even needed. Change-Id: I784ecca1920be16ff6712c3b26340328c58ce75c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Bump Qt version to 5.12.5 for automated buildsRichard Weickelt2019-09-231-6/+8
| | | | | | | | | Also introduce accurate versioning for docker images. This makes it possible to use different build environments in different branches. Change-Id: I4feb83dbba886c4369d661ec746428b0c89b80b4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update Xcode version to 10.3Richard Weickelt2019-09-021-7/+2
| | | | | Change-Id: I97e475dbe493dbdd06491648ed1ebc767e7ff621 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add Ubuntu 18.04 Docker imageRichard Weickelt2019-08-271-5/+10
| | | | | | | | | | | | | | | | | | | Contains: - Qbs 1.13.1 (from QtCreator 4.9.2) - Qt 5.12.4 for Linux (prebuilt) - Qt 5.12.4 for Windows (compiled from source) - gcc 7.4 - mingw-w64 (7.3) This image can build Qbs and all its components for Linux and Windows targets. It might supersede Debian stretch which is not officially supported by Qt 5.12. The only limitation is that it can neither build Chocolatey packages nor run windeployqt. Change-Id: Icee1f002483f68839d39c8c152a9c5d886dabcfb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Minimal Qt installer scriptRichard Weickelt2019-08-131-23/+8
| | | | | | | | | | | | | | | | | | | | | One of the main problems in virtual environments like Travis CI is how to install Qt and QtCreator. The official installer provided by the Qt Company is almost unusable from command line. It is even harder to select only certain components (especially QtScript). Luckily, all components are available online under http://download.qt.io. This script installs components from the official Qt package repository. It can be used in any bash environment to simplify the setup procedure and supports every valid combination of host OS, target platform (desktop, android, ios) as well as toolchains. Dependencies: - bash - curl - 7z Change-Id: Ia2080cb80df98551332eb02c85c5933fd3bdaa4e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add Windows to Travis build configRichard Weickelt2019-07-081-0/+45
| | | | | | | | | This patch enables Qbs builds and autotests on Windows. Builds in release mode to speed up test execution. Change-Id: Iaddfddb3459266740aa18c06d431624336446c6b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qbs CI Bot <travis-bot@weickelt.de>
* Travis: simplify qt.conf on macOSIvan Komissarov2019-07-041-1/+1
| | | | | | | | It is possible to use relative path for the qmake's installation prefix Change-Id: Ic66d7d336bc9998589f3bbee3512dc552ba7d0ad Reviewed-by: Qbs CI Bot <travis-bot@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add macOS in Travis build configRichard Weickelt2019-07-011-0/+42
| | | | | | | | | | | This patch enables Qbs builds and autotests on macOS X. Address sanitizer has to be disabled because it slows autotests down too much. Change-Id: Id8b5ec4284881c8c7a4ac3ef612e979f10f67e1b Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Qbs CI Bot <travis-bot@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Enable Travis CI to build and test QbsRichard Weickelt2019-06-131-0/+31
This patch adds a configuration file for building and testing Qbs with Travis CI. Travis supports Linux, Windows and Mac OS. It requires a repository on github, but is generally free for open source projects. Users could simply fork Qbs, connect their Travis account to the forked repository and let it build. In addition to this patch, a bot has been implemented that watches codereview.qt-project.org for changes. Whenever a user uploads a new change or patch set, the bot pushes this change to a mirror repository on github and kicks Travis to build it. Once the build has finished the result is posted as a comment back to gerrit. This bot could be extended to behave like the Qt CI system. Change-Id: Ic0e1bd507171f40860bfe352651880b4ae7412fc Reviewed-by: Qbs CI Bot <travis-bot@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>