Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
db2b846e
Unverified
Commit
db2b846e
authored
Nov 30, 2018
by
Sergei Morozov
Committed by
GitHub
Nov 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3365 from BenMorel/travis_script
Reorganize Travis build matrix
parents
0ee865a0
56845ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
131 additions
and
189 deletions
+131
-189
.travis.yml
.travis.yml
+131
-189
No files found.
.travis.yml
View file @
db2b846e
...
...
@@ -7,17 +7,6 @@ cache:
-
vendor
-
$HOME/.composer/cache
php
:
-
7.1
-
7.2
-
7.3
-
nightly
env
:
-
DB=sqlite
-
DB=mysql
-
DB=mysqli
before_install
:
-
|
if [ "x$COVERAGE" != "xyes" ]; then
...
...
@@ -54,47 +43,8 @@ after_script:
jobs
:
allow_failures
:
-
php
:
nightly
-
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
exclude
:
-
php
:
7.1
env
:
DB=sqlite
-
php
:
7.1
env
:
DB=mysql
-
php
:
7.1
env
:
DB=mysqli
-
php
:
7.2
env
:
DB=sqlite
-
php
:
7.2
env
:
DB=mysql
-
php
:
7.2
env
:
DB=mysqli
-
php
:
7.3
env
:
DB=mysql
-
php
:
7.3
env
:
DB=mysqli
-
php
:
nightly
env
:
DB=mysql
-
php
:
nightly
env
:
DB=mysqli
include
:
-
stage
:
Test
php
:
7.1
env
:
DB=sqlite
-
stage
:
Test
php
:
7.2
env
:
DB=sqlite COVERAGE=yes
-
stage
:
Test
php
:
7.2
env
:
DB=mysql COVERAGE=yes
-
stage
:
Test
php
:
7.2
env
:
DB=mysqli COVERAGE=yes
-
stage
:
Test
php
:
7.1
env
:
DB=mysql MYSQL_VERSION=5.7
...
...
@@ -102,133 +52,122 @@ jobs:
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
7.
2
env
:
DB=mysql
MYSQL_VERSION=5.7 COVERAGE=yes
php
:
7.
1
env
:
DB=mysql
i MYSQL_VERSION=5.7
sudo
:
required
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
7.3
env
:
DB=mysql MYSQL_VERSION=5.7
php
:
7.1
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.1
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.1
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-
mysql-5.7
.sh
-
bash ./tests/travis/install-
postgres-11
.sh
-
stage
:
Test
php
:
nightly
env
:
DB=mysql MYSQL_VERSION=5.7
php
:
7.1
env
:
DB=sqlite
-
stage
:
Test
php
:
7.1
env
:
DB=sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-m
ysql-5.7
.sh
-
bash ./tests/travis/install-m
ssql-sqlsrv
.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.1
env
:
DB=
mysqli MYSQL_VERSION=5.7
env
:
DB=
pdo_sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.
2
env
:
DB=
mysqli MYSQL_VERSION=5.7 COVERAGE=yes
php
:
7.
1
env
:
DB=
ibm_db2
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
bash ./tests/travis/install-db2.sh
-
bash ./tests/travis/install-db2-ibm_db2.sh
-
stage
:
Test
php
:
7.3
env
:
DB=mysqli MYSQL_VERSION=5.7
php
:
7.1
env
:
DB=sqlite DEPENDENCIES=low
install
:
-
travis_retry composer update --prefer-dist --prefer-lowest
-
stage
:
Test
php
:
7.2
env
:
DB=mysql COVERAGE=yes
-
stage
:
Test
php
:
7.2
env
:
DB=mysql MYSQL_VERSION=5.7 COVERAGE=yes
sudo
:
required
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
nightly
env
:
DB=mysqli MYSQL_VERSION=5.7
php
:
7.2
env
:
DB=mysqli COVERAGE=yes
-
stage
:
Test
php
:
7.2
env
:
DB=mysqli MYSQL_VERSION=5.7 COVERAGE=yes
sudo
:
required
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb MARIADB_VERSION=10.0 COVERAGE=yes
addons
:
mariadb
:
10.0
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb MARIADB_VERSION=10.1 COVERAGE=yes
addons
:
mariadb
:
10.1
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes
addons
:
mariadb
:
10.2
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.0 COVERAGE=yes
addons
:
mariadb
:
10.0
mariadb
:
10.0
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.1 COVERAGE=yes
addons
:
mariadb
:
10.1
mariadb
:
10.1
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes
addons
:
mariadb
:
10.2
-
stage
:
Test
php
:
7.1
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
nightly
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.1
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.2
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3 COVERAGE=yes
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
nightly
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
mariadb
:
10.3
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes
...
...
@@ -236,7 +175,6 @@ jobs:
-
postgresql
addons
:
postgresql
:
"
9.2"
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes
...
...
@@ -244,7 +182,6 @@ jobs:
-
postgresql
addons
:
postgresql
:
"
9.3"
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
...
...
@@ -252,7 +189,6 @@ jobs:
-
postgresql
addons
:
postgresql
:
"
9.4"
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
...
...
@@ -260,7 +196,6 @@ jobs:
-
postgresql
addons
:
postgresql
:
"
9.5"
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
...
...
@@ -268,7 +203,6 @@ jobs:
-
postgresql
addons
:
postgresql
:
"
9.6"
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
...
...
@@ -279,10 +213,9 @@ jobs:
postgresql
:
"
9.6"
before_script
:
-
bash ./tests/travis/install-postgres-10.sh
-
stage
:
Test
php
:
7.
1
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
php
:
7.
2
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
COVERAGE=yes
sudo
:
required
services
:
-
docker
...
...
@@ -290,127 +223,136 @@ jobs:
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes
env
:
DB=sqlite COVERAGE=yes
-
stage
:
Test
php
:
7.2
env
:
DB=sqlsrv COVERAGE=yes
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
bash ./tests/travis/install-mssql-sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.
3
env
:
DB=p
gsql POSTGRESQL_VERSION=11.0
php
:
7.
2
env
:
DB=p
do_sqlsrv COVERAGE=yes
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
nightly
env
:
DB=
pgsql POSTGRESQL_VERSION=11.0
php
:
7.2
env
:
DB=
ibm_db2 COVERAGE=yes
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-
postgres-11
.sh
-
bash ./tests/travis/install-
db2
.sh
-
bash ./tests/travis/install-db2-ibm_db2.sh
-
stage
:
Test
php
:
7.
1
env
:
DB=
sqlsrv
php
:
7.
3
env
:
DB=
mysql MYSQL_VERSION=5.7
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-$DB.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
7.
2
env
:
DB=
sqlsrv COVERAGE=yes
php
:
7.
3
env
:
DB=
mysqli MYSQL_VERSION=5.7
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-$DB.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
7.3
env
:
DB=sqlsrv
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-$DB.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
nightly
php
:
7.3
env
:
DB=sqlite
-
stage
:
Test
php
:
7.3
env
:
DB=sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-
$DB
.sh
-
bash ./tests/travis/install-mssql-
sqlsrv
.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.
1
php
:
7.
3
env
:
DB=pdo_sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-
$DB
.sh
-
bash ./tests/travis/install-mssql-
pdo_sqlsrv
.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.2
env
:
DB=
pdo_sqlsrv COVERAGE=yes
php
:
nightly
env
:
DB=
mysql MYSQL_VERSION=5.7
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-$DB.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
7.3
env
:
DB=
pdo_sqlsrv
php
:
nightly
env
:
DB=
mysqli MYSQL_VERSION=5.7
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-$DB.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
php
:
nightly
env
:
DB=pdo_sqlsrv
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
nightly
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
nightly
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
-
docker
before_script
:
-
bash ./tests/travis/install-mssql-$DB.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
7.1
env
:
DB=ibm_db2
php
:
nightly
env
:
DB=sqlite
-
stage
:
Test
php
:
nightly
env
:
DB=sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-
db2
.sh
-
bash ./tests/travis/install-
db2-$DB
.sh
-
bash ./tests/travis/install-
mssql-sqlsrv
.sh
-
bash ./tests/travis/install-
mssql
.sh
-
stage
:
Test
php
:
7.2
env
:
DB=
ibm_db2 COVERAGE=yes
php
:
nightly
env
:
DB=
pdo_sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-db2.sh
-
bash ./tests/travis/install-db2-$DB.sh
-
stage
:
Test
php
:
7.1
env
:
DB=sqlite DEPENDENCIES=low
install
:
-
travis_retry composer update --prefer-dist --prefer-lowest
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
if
:
type = cron
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment