-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.travis.yml
207 lines (196 loc) · 6.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
#----------------------------------------------------------------------------
#
# Platform Game Engine Project by Wohlstand, a free platform for making games of platform genre
# Copyright (c) 2014-2025 Vitaly Novichkov <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#----------------------------------------------------------------------------
# Travis-CI building configuration file for Mac OS X Operating system
# created 2015-11-26
#----------------------------------------------------------------------------
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "eZjlsg6iAuRaU2qiofJUOFT8qmomXTgy9IpfbuI4UOLQpz7bXq9CVCrCE2HhoPLEj08AjLvn60sBDJE3vX7TWVDYAS4/tNx2mcWbRjPSlI0uIIC1ehCKUFoPu8wH8eJZCrJUijyPBf7WbZ2uDCar+pgAbecv+Fi//jUk1i+W/Q0="
git:
depth: 2
branches:
only:
- master
- stable
language: cpp
matrix:
include:
- os: linux
dist: trusty
compiler: gcc
env:
- QT_VER=5.9.9_static
- QT_TARBALL=qt-5.9.9-static-ubuntu-14-04-x64-gcc8.tar.bz2
- IS_COVERITY_SCAN=true
addons:
coverity_scan:
project:
name: "WohlSoft/PGE-Project"
description: "PGE Project - a free and open source game engine to create games of platform genre"
notification_email: [email protected]
build_command: "bash ./build.sh no-pause ninja noqt noeditor nocalibrator nogifs2png nopng2gifs nolazyfixtool nomanager nomaintainer nomusicplayer"
branch_pattern: master
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
- sourceline: "ppa:ubuntu-sdk-team/ppa"
- sourceline: "ppa:adrozdoff/cmake"
packages:
- build-essential
- "^libxcb.*"
- libx11-dev
- libx11-xcb-dev
- libxcursor-dev
- libxrender-dev
- libxrandr-dev
- libxext-dev
- libxi-dev
- libxss-dev
- libxt-dev
- libxv-dev
- libxxf86vm-dev
- libxinerama-dev
- libxkbcommon-dev
- libfontconfig1-dev
- libasound2-dev
- libpulse-dev
- libdbus-1-dev
- libgtk-3-dev
- libgegl-dev
- udev
- mtdev-tools
- webp
- libudev-dev
- libglm-dev
- libwayland-dev
- libegl1-mesa-dev
- mesa-common-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libgles2-mesa
- libgles2-mesa-dev
- libmirclient-dev
- libproxy-dev
- ccache
- gcc-8
- g++-8
- libc6
- libstdc++6
- cmake
- ninja-build
- os: linux
dist: xenial
compiler: gcc
env:
- QT_VER=5.14.2_static
- QT_TARBALL=qt-5.14.2-static-ubuntu-16-04-x64-gcc8.tar.bz2
- UPLOAD_TARGET=ubuntu-16-04
- UPLOAD_VERSION_SUFFIX=ubuntu1604
- CI_NEED_LFTP_U1604=true
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
- sourceline: "ppa:ubuntu-sdk-team/ppa"
- sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial-rc main'
keyurl: "https://apt.kitware.com/keys/kitware-archive-latest.asc"
packages:
- build-essential
- "^libxcb.*"
- libx11-dev
- libx11-xcb-dev
- libxcursor-dev
- libxrender-dev
- libxrandr-dev
- libxext-dev
- libxi-dev
- libxss-dev
- libxt-dev
- libxv-dev
- libxxf86vm-dev
- libxinerama-dev
- libxkbcommon-dev
- libfontconfig1-dev
- libasound2-dev
- libpulse-dev
- libdbus-1-dev
- libgtk-3-dev
- libgegl-dev
- libgegl-0.0-dev
- udev
- mtdev-tools
- webp
- libudev-dev
- libglm-dev
- libwayland-dev
- libegl1-mesa-dev
- xwayland
- wayland-protocols
- mesa-common-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libgles2-mesa
- libgles2-mesa-dev
- libmirclient-dev
- libwayland-server0
- libproxy-dev
- ccache
- gcc-8
- g++-8
- libc6
- libstdc++6
- cmake
- ninja-build
- libreadline6
- libgnutls30
- libexpat1-dev
- os: osx
osx_image: xcode10.2
compiler: clang
env:
- QT_VER=5.14.2
- QT_TARBALL=qt-5-14-2-static-macosx-10-14-6.tar.bz2
before_cache:
- brew cleanup
cache:
directories:
- $HOME/Library/Caches/Homebrew
addons:
homebrew:
packages:
- ninja
- cmake
- coreutils
- binutils
- gnu-sed
- lftp
- axel
update: true
before_install:
- bash _common/travis-ci/before-install.sh
# install: true
before_script:
- bash _common/travis-ci/before-script.sh
script:
- bash _common/travis-ci/build.sh
after_success:
- bash _common/travis-ci/upload.sh