From 09c9fbfbdf4aa2c6e84e080da32693b64719ca3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Cotty?= Date: Thu, 9 Jan 2020 22:02:33 +0100 Subject: 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 Reviewed-by: Christian Kandeler --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.travis.yml') 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) -- cgit v1.2.3