diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-04-20 15:51:22 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-05-22 08:21:10 +0000 |
commit | 38bec94ff92bc117906906cfff9b2b08fc74dfab (patch) | |
tree | 3903fba3d8f2a700f2a593b836cd1d3425929c27 /.travis.yml | |
parent | 92970c2cb233bc3c629250312761637ffb6d36b8 (diff) |
Fix or skip tests to be able to run with the iOS profile
This skips tests that are not possible to run without the device and
fixes other tests for the iOS profile.
Also, adds Travis job that runs tests using iOS profile.
This is the squashed merge commit of the wip/ci-ios branch.
Change-Id: Ia0c1fc05fdb8c6e269f5e66f979f2ae19465433c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 628700ecf..486ee6a76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -118,6 +118,29 @@ jobs: lldb --core $f --batch --one-line "bt" done; + - <<: *build-on-macos + name: With Qbs on macOS (xcode 11.3) using iOS profile + if: branch = master + env: + # Address sanitizer slows autotests down too much. + # We would hit the maximum build time on Travis. + BUILD_OPTIONS=modules.qbsbuildconfig.enableAddressSanitizer:false + QT_INSTALL_DIR=/Users/travis/Qt + PATH="${QT_INSTALL_DIR}/Qt Creator.app/Contents/MacOS:${PATH}" + QMAKE_PATH=${QT_INSTALL_DIR}/${QT_VERSION}/clang_64/bin/qmake + QBS_AUTOTEST_QMAKE_PATH=${QT_INSTALL_DIR}/${QT_VERSION}/ios/bin/qmake + QBS_BUILD_PROFILE=qt + QBS_AUTOTEST_BASE_PROFILE=xcode-iphoneos-arm64 + WITH_DOCS=0 + before_install: + - ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QT_VERSION} qtbase qtdeclarative qttools qtscript + - ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QT_VERSION} --target ios --toolchain ios qtbase qtdeclarative qttools qtscript + - ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QTCREATOR_VERSION} qtcreator + script: + - qbs setup-toolchains --detect + - qbs setup-qt ${QMAKE_PATH} qt + - qbs config profiles.qt.baseProfile xcode-macosx-x86_64 + - scripts/build-qbs-with-qbs.sh - <<: *build-on-macos name: With Qbs on macOS (xcode 10.3) |