Skip to content

Commit 7dd2a3c

Browse files
committed
added travis configuration
1 parent 9db502e commit 7dd2a3c

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ build_script:
152152
- if %use_cmake%==false if %use_static%==true qmake "CONFIG+=adsBuildStatic"
153153
- if %use_cmake%==false if %use_static%==false qmake
154154
- if %use_cmake%==false %MAKEENGINE% debug
155+
- if %use_cmake%==false %MAKEENGINE% install
155156
- if %use_cmake%==false %MAKEENGINE% release
156157
- if %use_cmake%==false %MAKEENGINE% install
157158

.travis.yml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
language: cpp
2+
# gcc is clang on mac
3+
compiler: gcc
4+
5+
git:
6+
depth: 1
7+
8+
matrix:
9+
fast_finish: true
10+
include:
11+
- name: Ubuntu CMake dll
12+
os: linux
13+
dist: xenial
14+
group: stable
15+
cache: ccache
16+
addons:
17+
apt:
18+
packages:
19+
- qt5-default
20+
- qttools5-dev
21+
- qttools5-dev-tools
22+
script:
23+
- mkdir .\build
24+
- cd build
25+
- cmake --version
26+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
27+
- cmake --build .
28+
- cmake --build . --target install
29+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
30+
- cmake --build .
31+
- cmake --build . --target install
32+
- name: Ubuntu CMake static
33+
os: linux
34+
dist: xenial
35+
group: stable
36+
cache: ccache
37+
addons:
38+
apt:
39+
packages:
40+
- qt5-default
41+
- qttools5-dev
42+
- qttools5-dev-tools
43+
script:
44+
- mkdir .\build
45+
- cd build
46+
- cmake --version
47+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
48+
- cmake --build .
49+
- cmake --build . --target install
50+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
51+
- cmake --build .
52+
- cmake --build . --target install
53+
54+
- name: macOS CMake dll
55+
os: osx
56+
osx_image: xcode10.1
57+
cache: ccache
58+
addons:
59+
homebrew:
60+
packages:
61+
- ccache
62+
- qt
63+
script:
64+
- mkdir .\build
65+
- cd build
66+
- cmake --version
67+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
68+
- cmake --build .
69+
- cmake --build . --target install
70+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
71+
- cmake --build .
72+
- cmake --build . --target install
73+
- name: macOS CMake static
74+
os: osx
75+
osx_image: xcode10.1
76+
cache: ccache
77+
addons:
78+
homebrew:
79+
packages:
80+
- ccache
81+
- qt
82+
script:
83+
- mkdir .\build
84+
- cd build
85+
- cmake --version
86+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
87+
- cmake --build .
88+
- cmake --build . --target install
89+
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
90+
- cmake --build .
91+
- cmake --build . --target install
92+
93+
notifications:
94+
email: false
95+

0 commit comments

Comments
 (0)