aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRaphaël Cotty <raphael.cotty@gmail.com>2020-01-09 22:02:33 +0100
committerRaphaël Cotty <raphael.cotty@gmail.com>2020-01-10 15:15:21 +0000
commit09c9fbfbdf4aa2c6e84e080da32693b64719ca3c (patch)
treea49e6020c2170aea1536719aad775f3b89b86a66 /.travis.yml
parent4bdd40c12364b11e425ffb9904fd75d591dc7dfb (diff)
Add Docker environment to test Qbs with Qt for Android
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>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2ee869657..3f599cd00 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,6 +59,15 @@ jobs:
script:
- docker-compose run --rm bionic scripts/run-analyzer.sh
+ - <<: *build-on-bionic
+ name: With Qbs and with Qt for Android (Qt 5.13)
+ before_install:
+ - docker-compose pull bionic
+ - docker-compose pull bionic-android-513
+ script:
+ - docker-compose run bionic qbs build modules.cpp.compilerWrapper:ccache modules.qbsbuildconfig.enableBundledQt:true config:release
+ - docker-compose run bionic-android-513 scripts/test-qt-for-android.sh release/install-root/usr/local/bin
+
- &build-on-macos
stage: Build Qbs and and run autotests
name: With Qbs on macOS (xcode 10.3)