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
3b13a7e8
Unverified
Commit
3b13a7e8
authored
Dec 18, 2019
by
Sergei Morozov
Committed by
GitHub
Dec 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3785 from morozov/travis-php-74
Test primarily against PHP 7.4 on Travis
parents
f6312cb9
75cf1515
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
85 deletions
+85
-85
.travis.yml
.travis.yml
+85
-85
No files found.
.travis.yml
View file @
3b13a7e8
...
@@ -11,7 +11,7 @@ before_install:
...
@@ -11,7 +11,7 @@ before_install:
-
phpenv config-rm xdebug.ini ||
true
-
phpenv config-rm xdebug.ini ||
true
-
|
-
|
if [ "x$COVERAGE" == "xyes" ]; then
if [ "x$COVERAGE" == "xyes" ]; then
pecl install pcov-1.0.
0
pecl install pcov-1.0.
6
fi
fi
before_script
:
before_script
:
...
@@ -40,15 +40,15 @@ jobs:
...
@@ -40,15 +40,15 @@ jobs:
include
:
include
:
-
stage
:
Smoke Testing
-
stage
:
Smoke Testing
php
:
7.
3
php
:
7.
4
env
:
DB=sqlite COVERAGE=yes
env
:
DB=sqlite COVERAGE=yes
-
stage
:
Smoke Testing
-
stage
:
Smoke Testing
php
:
7.
3
php
:
7.
4
env
:
PHPStan
env
:
PHPStan
install
:
travis_retry composer install --prefer-dist
install
:
travis_retry composer install --prefer-dist
script
:
vendor/bin/phpstan analyse
script
:
vendor/bin/phpstan analyse
-
stage
:
Smoke Testing
-
stage
:
Smoke Testing
php
:
7.
3
php
:
7.
4
env
:
PHP_CodeSniffer
env
:
PHP_CodeSniffer
install
:
travis_retry composer install --prefer-dist
install
:
travis_retry composer install --prefer-dist
script
:
vendor/bin/phpcs
script
:
vendor/bin/phpcs
...
@@ -110,17 +110,79 @@ jobs:
...
@@ -110,17 +110,79 @@ jobs:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.2
env
:
DB=sqlite DEPENDENCIES=low
install
:
-
travis_retry composer update --prefer-dist --prefer-lowest
-
stage
:
Test
-
stage
:
Test
php
:
7.3
php
:
7.3
env
:
DB=mysql COVERAGE=yes
env
:
DB=mysql.docker MYSQL_VERSION=8.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
php
:
7.3
env
:
DB=mysqli.docker MYSQL_VERSION=8.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
php
:
7.3
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-postgres-11.sh
-
stage
:
Test
php
:
7.3
env
:
DB=sqlite
-
stage
:
Test
-
stage
:
Test
php
:
7.3
php
:
7.3
env
:
DB=sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
-
bash ./tests/travis/install-mssql-sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.3
env
:
DB=pdo_sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.4
env
:
DB=mysql COVERAGE=yes
-
stage
:
Test
php
:
7.4
env
:
DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes
env
:
DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes
sudo
:
required
sudo
:
required
before_script
:
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mysql.docker MYSQL_VERSION=8.0 COVERAGE=yes
env
:
DB=mysql.docker MYSQL_VERSION=8.0 COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -128,16 +190,16 @@ jobs:
...
@@ -128,16 +190,16 @@ jobs:
before_script
:
before_script
:
-
bash ./tests/travis/install-mysql-8.0.sh
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mysqli COVERAGE=yes
env
:
DB=mysqli COVERAGE=yes
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes
env
:
DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes
sudo
:
required
sudo
:
required
before_script
:
before_script
:
-
bash ./tests/travis/install-mysql-5.7.sh
-
bash ./tests/travis/install-mysql-5.7.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mysqli.docker MYSQL_VERSION=8.0 COVERAGE=yes
env
:
DB=mysqli.docker MYSQL_VERSION=8.0 COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -145,58 +207,58 @@ jobs:
...
@@ -145,58 +207,58 @@ jobs:
before_script
:
before_script
:
-
bash ./tests/travis/install-mysql-8.0.sh
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mariadb MARIADB_VERSION=10.1 COVERAGE=yes
env
:
DB=mariadb MARIADB_VERSION=10.1 COVERAGE=yes
addons
:
addons
:
mariadb
:
10.1
mariadb
:
10.1
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes
env
:
DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes
addons
:
addons
:
mariadb
:
10.2
mariadb
:
10.2
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
env
:
DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
addons
:
addons
:
mariadb
:
10.3
mariadb
:
10.3
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.1 COVERAGE=yes
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.1 COVERAGE=yes
addons
:
addons
:
mariadb
:
10.1
mariadb
:
10.1
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes
addons
:
addons
:
mariadb
:
10.2
mariadb
:
10.2
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3 COVERAGE=yes
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3 COVERAGE=yes
addons
:
addons
:
mariadb
:
10.3
mariadb
:
10.3
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
services
:
services
:
-
postgresql
-
postgresql
addons
:
addons
:
postgresql
:
"
9.4"
postgresql
:
"
9.4"
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
services
:
services
:
-
postgresql
-
postgresql
addons
:
addons
:
postgresql
:
"
9.5"
postgresql
:
"
9.5"
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
services
:
services
:
-
postgresql
-
postgresql
addons
:
addons
:
postgresql
:
"
9.6"
postgresql
:
"
9.6"
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -206,7 +268,7 @@ jobs:
...
@@ -206,7 +268,7 @@ jobs:
before_script
:
before_script
:
-
bash ./tests/travis/install-postgres-10.sh
-
bash ./tests/travis/install-postgres-10.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -214,7 +276,7 @@ jobs:
...
@@ -214,7 +276,7 @@ jobs:
before_script
:
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=sqlsrv COVERAGE=yes
env
:
DB=sqlsrv COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -224,7 +286,7 @@ jobs:
...
@@ -224,7 +286,7 @@ jobs:
-
bash ./tests/travis/install-mssql-sqlsrv.sh
-
bash ./tests/travis/install-mssql-sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=pdo_sqlsrv COVERAGE=yes
env
:
DB=pdo_sqlsrv COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -234,7 +296,7 @@ jobs:
...
@@ -234,7 +296,7 @@ jobs:
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.
3
php
:
7.
4
env
:
DB=ibm_db2 COVERAGE=yes
env
:
DB=ibm_db2 COVERAGE=yes
sudo
:
required
sudo
:
required
services
:
services
:
...
@@ -242,68 +304,6 @@ jobs:
...
@@ -242,68 +304,6 @@ jobs:
before_script
:
before_script
:
-
bash ./tests/travis/install-db2.sh
-
bash ./tests/travis/install-db2.sh
-
bash ./tests/travis/install-db2-ibm_db2.sh
-
bash ./tests/travis/install-db2-ibm_db2.sh
-
stage
:
Test
php
:
7.3
env
:
DB=sqlite DEPENDENCIES=low
install
:
-
travis_retry composer update --prefer-dist --prefer-lowest
-
stage
:
Test
php
:
7.4
env
:
DB=mysql.docker MYSQL_VERSION=8.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
php
:
7.4
env
:
DB=mysqli.docker MYSQL_VERSION=8.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
php
:
7.4
env
:
DB=mariadb MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.4
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.3
addons
:
mariadb
:
10.3
-
stage
:
Test
php
:
7.4
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
7.4
env
:
DB=sqlite
-
stage
:
Test
php
:
7.4
env
:
DB=sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
-
bash ./tests/travis/install-mssql-sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.4
env
:
DB=pdo_sqlsrv
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
-
bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
-
stage
:
Test
if
:
type = cron
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