This repository was archived by the owner on Jan 23, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml.old
More file actions
179 lines (157 loc) · 7 KB
/
.travis.yml.old
File metadata and controls
179 lines (157 loc) · 7 KB
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
# This file is part of the Phalcon Builder.
#
# (c) Phalcon Team <team@phalcon.io>
#
# For the full copyright and license information, please view
# the LICENSE file that was distributed with this source code.
#
# If you did not receive a copy of the license it is available
# through the world-wide-web at the following url:
# https://license.phalcon.io
dist: trusty
services:
- docker
language: generic
git:
depth: 1
cache:
timeout: 604800
directories:
- ${HOME}/.cache/re2c
- ${HOME}/.cache/php
- ${HOME}/.cache/zephir
env:
# The `BUILDTAB' variable contains descriptive information about the packages
# the CI can build. This variable is only read by programs, and not written;
# it is the duty of the maintainer to properly create and maintain this
# variable. The order of records in `BUILDTAB' is important because build
# programs sequentially iterate through `BUILDTAB' doing their thing.
#
# Each build in this matrix is described on a separate line in a format:
# - BUILDTAB="<OS> <DIST> <PACKAGE> <CLONE_BRANCH> <PHP_VERSION> \
# <PACKAGECLOUD_REPO> <REPO_VENDOR>"
# Fields on each line are separated by tabs or spaces.
# Lines starting with '#' are comments. Blank lines are ignored.
matrix:
# stable - ubuntu
#- BUILDTAB="ubuntu trusty deb v4.1.2 7.2 stable -"
- BUILDTAB="ubuntu trusty deb v4.1.2 7.3 stable -"
#- BUILDTAB="ubuntu xenial deb v4.1.2 7.2 stable -"
- BUILDTAB="ubuntu xenial deb v4.1.2 7.3 stable -"
- BUILDTAB="ubuntu xenial deb v4.1.2 7.4 stable -"
#- BUILDTAB="ubuntu bionic deb v4.1.2 7.2 stable -"
- BUILDTAB="ubuntu bionic deb v4.1.2 7.3 stable -"
- BUILDTAB="ubuntu bionic deb v4.1.2 7.4 stable -"
#- BUILDTAB="ubuntu focal deb v4.1.2 7.2 stable -"
- BUILDTAB="ubuntu focal deb v4.1.2 7.3 stable -"
- BUILDTAB="ubuntu focal deb v4.1.2 7.4 stable -"
#- BUILDTAB="ubuntu groovy deb v4.1.0 7.3 stable -"
#- BUILDTAB="ubuntu groovy deb v4.1.0 7.4 stable -"
# stable - debian
#- BUILDTAB="debian stretch deb v4.1.2 7.2 stable -"
- BUILDTAB="debian stretch deb v4.1.2 7.3 stable -"
- BUILDTAB="debian stretch deb v4.1.2 7.4 stable -"
- BUILDTAB="debian buster deb v4.1.2 7.3 stable -"
- BUILDTAB="debian buster deb v4.1.2 7.4 stable -"
# stable - centos
#- BUILDTAB="el 7 rpm v4.1.2 7.2 stable ius"
- BUILDTAB="el 7 rpm v4.1.2 7.3 stable ius"
- BUILDTAB="el 7 rpm v4.1.2 7.4 stable ius"
# mainline - ubuntu
#- BUILDTAB="ubuntu trusty deb v4.0.0-rc.3 7.2 mainline -"
#- BUILDTAB="ubuntu trusty deb v4.0.0-rc.3 7.3 mainline -"
#- BUILDTAB="ubuntu xenial deb v4.0.0-rc.3 7.2 mainline -"
#- BUILDTAB="ubuntu xenial deb v4.0.0-rc.3 7.3 mainline -"
#- BUILDTAB="ubuntu xenial deb v4.0.0-rc.3 7.4 mainline -"
#- BUILDTAB="ubuntu bionic deb v4.0.0-rc.3 7.2 mainline -"
#- BUILDTAB="ubuntu bionic deb v4.0.0-rc.3 7.3 mainline -"
#- BUILDTAB="ubuntu bionic deb v4.0.0-rc.3 7.4 mainline -"
# mainline - debian
#- BUILDTAB="debian stretch deb v4.0.0-rc.3 7.2 mainline -"
#- BUILDTAB="debian stretch deb v4.0.0-rc.3 7.3 mainline -"
#- BUILDTAB="debian stretch deb v4.0.0-rc.3 7.4 mainline -"
#- BUILDTAB="debian buster deb v4.0.0-rc.3 7.3 mainline -"
#- BUILDTAB="debian buster deb v4.0.0-rc.3 7.4 mainline -"
# mainline - centos
#- BUILDTAB="el 7 rpm v4.0.0-rc.3 7.2 mainline ius"
#- BUILDTAB="el 7 rpm v4.0.0-rc.3 7.3 mainline ius"
#- BUILDTAB="el 7 rpm v4.0.0-rc.3 7.4 mainline ius"
# nightly - ubuntu
#- BUILDTAB="ubuntu trusty deb 4.1.x 7.2 nightly -"
- BUILDTAB="ubuntu trusty deb 4.1.x 7.3 nightly -"
#- BUILDTAB="ubuntu xenial deb 4.1.x 7.2 nightly -"
- BUILDTAB="ubuntu xenial deb 4.1.x 7.3 nightly -"
- BUILDTAB="ubuntu xenial deb 4.1.x 7.4 nightly -"
#- BUILDTAB="ubuntu bionic deb 4.1.x 7.2 nightly -"
- BUILDTAB="ubuntu bionic deb 4.1.x 7.3 nightly -"
- BUILDTAB="ubuntu bionic deb 4.1.x 7.4 nightly -"
#- BUILDTAB="ubuntu focal deb 4.1.x 7.2 nightly -"
- BUILDTAB="ubuntu focal deb 4.1.x 7.3 nightly -"
- BUILDTAB="ubuntu focal deb 4.1.x 7.4 nightly -"
#- BUILDTAB="ubuntu groovy deb 4.1.x 7.3 nightly -"
#- BUILDTAB="ubuntu groovy deb 4.1.x 7.4 nightly -"
# nightly - debian
#- BUILDTAB="debian stretch deb 4.1.x 7.2 nightly -"
- BUILDTAB="debian stretch deb 4.1.x 7.3 nightly -"
- BUILDTAB="debian stretch deb 4.1.x 7.4 nightly -"
- BUILDTAB="debian buster deb 4.1.x 7.3 nightly -"
- BUILDTAB="debian buster deb 4.1.x 7.4 nightly -"
# nightly - centos
#- BUILDTAB="el 7 rpm 4.1.x 7.2 nightly ius"
- BUILDTAB="el 7 rpm 4.1.x 7.3 nightly ius"
- BUILDTAB="el 7 rpm 4.1.x 7.4 nightly ius"
matrix:
fast_finish: true
allow_failures:
#- env: BUILDTAB="ubuntu trusty deb 4.1.x 7.2 nightly -"
- env: BUILDTAB="ubuntu trusty deb 4.1.x 7.3 nightly -"
#- env: BUILDTAB="ubuntu xenial deb 4.1.x 7.2 nightly -"
- env: BUILDTAB="ubuntu xenial deb 4.1.x 7.3 nightly -"
- env: BUILDTAB="ubuntu xenial deb 4.1.x 7.4 nightly -"
#- env: BUILDTAB="ubuntu bionic deb 4.1.x 7.2 nightly -"
- env: BUILDTAB="ubuntu bionic deb 4.1.x 7.3 nightly -"
- env: BUILDTAB="ubuntu bionic deb 4.1.x 7.4 nightly -"
#- env: BUILDTAB="debian stretch deb 4.1.x 7.2 nightly -"
- env: BUILDTAB="debian stretch deb 4.1.x 7.3 nightly -"
- env: BUILDTAB="debian stretch deb 4.1.x 7.4 nightly -"
- env: BUILDTAB="debian buster deb 4.1.x 7.3 nightly -"
- env: BUILDTAB="debian buster deb 4.1.x 7.4 nightly -"
#- env: BUILDTAB="el 7 rpm 4.1.x 7.2 nightly ius"
- env: BUILDTAB="el 7 rpm 4.1.x 7.3 nightly ius"
- env: BUILDTAB="el 7 rpm 4.1.x 7.4 nightly ius"
before_install:
- source environment
- export $(cat environment | grep -v "^#\|^$" | cut -d= -f1)
- source ci/export-buildtab.sh
# Create daily builds only for nightly branch
- if [ "${PACKAGECLOUD_REPO}${TRAVIS_EVENT_TYPE}" = "stablecron" ]; then travis_terminate 0 ; fi
- if [ "${PACKAGECLOUD_REPO}${TRAVIS_EVENT_TYPE}" = "mainlinecron" ]; then travis_terminate 0 ; fi
- if [ $OS != "el" ]; then ./ci/prepare-debian.sh; fi
- if [ $OS = "el" ]; then ./ci/prepare-rpm.sh; fi
- if [ $REPO_VENDOR == "-" ]; then unset REPO_VENDOR; fi
install:
- ./ci/install-php.sh || travis_terminate 1
- source ./ci/setup-build.sh
- ./ci/install-re2c.sh || travis_terminate 1
- ./ci/install-zephir-parser.sh || travis_terminate 1
- ./ci/install-zephir.sh || travis_terminate 1
before_script:
- git clone -b $CLONE_BRANCH --depth 1 -q $PRODUCT_GIT $SOURCEDIR 1>/dev/null
- ./ci/regenerate-build.sh || travis_terminate 1
script:
- make -f .travis.mk ${TARGET} || travis_terminate 1
before_deploy:
- ls -l build/
deploy:
- provider: packagecloud
username: "${PACKAGECLOUD_USER}"
repository: "${PACKAGECLOUD_REPO}"
token: "${PACKAGECLOUD_TOKEN}"
dist: "${OS}/${DIST}"
package_glob: build/*.{rpm,deb,dsc}
skip_cleanup: true
on:
branch: "master"
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
notifications:
email: false