diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..37117338 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,57 @@ +env: + global: + - secure: "NlWO/NTPlOU6cowOMuPOvjAprXVwIjmpHHf9CoMR71E2c/eBFFKIHj10kXuyFwz2KihHAIExmo9OlGtGniNWobvIrVrabO3dsOSb6UGbPAQkzQiyQLKsDNQAZx3nMuWEKBtMsVRee6rd7/2uGTY4WB5Ot3VhrUYcN1FoRgQQ9gk=" + +branches: + only: + - master + +matrix: + include: + - os: linux + dist: bionic + - os: osx + osx_image: xcode11.5 + env: + - QT_SELECT=qt5 + - CMAKE_PREFIX_PATH=/usr/local/opt/qt + +language: cpp +compiler: + - gcc + - clang + +script: + - mkdir build + - cd build + - cmake -DCMAKE_BUILD_TYPE=Release -DKDDockWidgets_TESTS=True -KDDockWidgets_EXAMPLES=True -DKDDockWidgets_DEVELOPER_MODE=True .. + - make + - make test + +dist: bionic +addons: + apt: + update: true + packages: + - qt5-default + - qtbase5-dev + - qtbase5-dev-tools + - qtbase5-private-dev + - qttools5-dev + - qttools5-dev-tools + - qtdeclarative5-dev + - qtdeclarative5-dev-tools + - libqt5xmlpatterns5-dev + - libqt5xmlpatterns5 + - qtxmlpatterns5-dev-tools + homebrew: + update: true + packages: + - qt5 + coverity_scan: + project: + name: KDAB/KDDockWidgets + notification_email: allen.winter@kdab.com + build_command_prepend: cd build && cmake .. + build_command: make + branch_pattern: coverity_scan diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..e4581d84 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,78 @@ +#---------------------------------# +# general configuration # +#---------------------------------# + +# version format +version: 1.0.{build}-{branch} + +# branches to build +branches: + except: + - gh-pages + +# Do not build on tags (GitHub and BitBucket) +skip_tags: false + +#---------------------------------# +# environment configuration # +#---------------------------------# + +# Build worker image +image: + - Visual Studio 2019 + +# scripts that are called at very beginning, before repo cloning +init: + - git config --global core.autocrlf input + +#---------------------------------# +# build configuration # +#---------------------------------# + +# build platform, i.e. x86, x64, Any CPU. This setting is optional. +platform: + - x64 + +# build Configuration, i.e. Debug, Release, etc. +configuration: + - Release + +install: + - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" + - set QTDIR=C:\Qt\5.15\msvc2019_64 + - set PATH=%QTDIR%\bin;%PATH% +build_script: + - mkdir build + - cd build + - cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DKDDockWidgets_TESTS=True -DKDDockWidgets_EXAMPLES=True -DKDDockWidgets_DEVELOPER_MODE=True .. + - nmake + +# to disable automatic builds +#build: off + +#---------------------------------# +# tests configuration # +#---------------------------------# + +test_script: + - nmake test + +# to disable automatic tests +#test: off + + +#---------------------------------# +# deployment configuration # +#---------------------------------# + +deploy: off + +#---------------------------------# +# notifications # +#---------------------------------# +notifications: + # Email + - provider: Email + to: + - allen.winter@kdab.com + on_build_status_changed: true