diff options
-rw-r--r-- | .travis.yml | 9 | ||||
-rwxr-xr-x | scripts/build-qbs-with-qbs.sh | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 4add585f1..1818ff595 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,6 +96,8 @@ jobs: - ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QT_VERSION} qtbase qtdeclarative qttools qtscript qtscxml - ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QTCREATOR_VERSION} qtcreator - pip3 install --user beautifulsoup4 lxml + before_script: + - ulimit -c unlimited -S # enable core dumps script: - ccache -s - qbs setup-toolchains --detect @@ -105,6 +107,13 @@ jobs: - qbs config --list profiles - scripts/build-qbs-with-qbs.sh - ccache -s + # Find core dump and print traceback on failure + after_failure: + - | + for f in $(find /cores -maxdepth 1 -name 'core.*' -print); do + lldb --core $f --batch --one-line "bt" + done; + - <<: *build-on-macos name: With Qbs on macOS (xcode 10.3) diff --git a/scripts/build-qbs-with-qbs.sh b/scripts/build-qbs-with-qbs.sh index a116bc7b9..856cf71b6 100755 --- a/scripts/build-qbs-with-qbs.sh +++ b/scripts/build-qbs-with-qbs.sh @@ -54,6 +54,8 @@ BUILD_OPTIONS="\ modules.qbsbuildconfig.enableProjectFileUpdates:true \ modules.qbsbuildconfig.enableUnitTests:true \ modules.cpp.treatWarningsAsErrors:true \ + modules.cpp.separateDebugInformation:true \ + modules.qbs.debugInformation:true \ project.withExamples:true \ ${BUILD_OPTIONS} \ config:release \ |