mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
added travis configuration
This commit is contained in:
parent
9db502e652
commit
7dd2a3c83c
@ -152,6 +152,7 @@ build_script:
|
|||||||
- if %use_cmake%==false if %use_static%==true qmake "CONFIG+=adsBuildStatic"
|
- if %use_cmake%==false if %use_static%==true qmake "CONFIG+=adsBuildStatic"
|
||||||
- if %use_cmake%==false if %use_static%==false qmake
|
- if %use_cmake%==false if %use_static%==false qmake
|
||||||
- if %use_cmake%==false %MAKEENGINE% debug
|
- if %use_cmake%==false %MAKEENGINE% debug
|
||||||
|
- if %use_cmake%==false %MAKEENGINE% install
|
||||||
- if %use_cmake%==false %MAKEENGINE% release
|
- if %use_cmake%==false %MAKEENGINE% release
|
||||||
- if %use_cmake%==false %MAKEENGINE% install
|
- if %use_cmake%==false %MAKEENGINE% install
|
||||||
|
|
||||||
|
95
.travis.yml
Normal file
95
.travis.yml
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
language: cpp
|
||||||
|
# gcc is clang on mac
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
|
git:
|
||||||
|
depth: 1
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
- name: Ubuntu CMake dll
|
||||||
|
os: linux
|
||||||
|
dist: xenial
|
||||||
|
group: stable
|
||||||
|
cache: ccache
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- qt5-default
|
||||||
|
- qttools5-dev
|
||||||
|
- qttools5-dev-tools
|
||||||
|
script:
|
||||||
|
- mkdir .\build
|
||||||
|
- cd build
|
||||||
|
- cmake --version
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
- name: Ubuntu CMake static
|
||||||
|
os: linux
|
||||||
|
dist: xenial
|
||||||
|
group: stable
|
||||||
|
cache: ccache
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- qt5-default
|
||||||
|
- qttools5-dev
|
||||||
|
- qttools5-dev-tools
|
||||||
|
script:
|
||||||
|
- mkdir .\build
|
||||||
|
- cd build
|
||||||
|
- cmake --version
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
|
||||||
|
- name: macOS CMake dll
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode10.1
|
||||||
|
cache: ccache
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- ccache
|
||||||
|
- qt
|
||||||
|
script:
|
||||||
|
- mkdir .\build
|
||||||
|
- cd build
|
||||||
|
- cmake --version
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
- name: macOS CMake static
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode10.1
|
||||||
|
cache: ccache
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- ccache
|
||||||
|
- qt
|
||||||
|
script:
|
||||||
|
- mkdir .\build
|
||||||
|
- cd build
|
||||||
|
- cmake --version
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
||||||
|
- cmake --build .
|
||||||
|
- cmake --build . --target install
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user