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
0ad4c165
Unverified
Commit
0ad4c165
authored
Jun 06, 2020
by
Grégoire Paris
Committed by
GitHub
Jun 06, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4053 from greg0ire/make-coverage-unconditional-on-travis
Report coverage unconditionally on Travis
parents
87aad2f6
6c83f5a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
37 deletions
+26
-37
.travis.yml
.travis.yml
+26
-37
No files found.
.travis.yml
View file @
0ad4c165
...
...
@@ -8,10 +8,7 @@ cache:
before_install
:
-
phpenv config-rm xdebug.ini ||
true
-
|
if [ "x$COVERAGE" == "xyes" ]; then
pecl install pcov-1.0.0
fi
-
pecl install pcov
before_script
:
-
|
...
...
@@ -24,25 +21,17 @@ install:
-
travis_retry composer -n install --prefer-dist
script
:
-
|
if [ "x$COVERAGE" == "xyes" ]; then
./vendor/bin/phpunit --configuration tests/travis/$DB.travis.xml --coverage-clover clover.xml
else
./vendor/bin/phpunit --configuration tests/travis/$DB.travis.xml
fi
-
./vendor/bin/phpunit --configuration tests/travis/$DB.travis.xml --coverage-clover clover.xml
after_success
:
-
|
if [ "x$COVERAGE" == "xyes" ]; then
bash <(curl -s https://codecov.io/bash)
fi
-
bash <(curl -s https://codecov.io/bash)
jobs
:
include
:
-
stage
:
Smoke Testing
php
:
7.3
env
:
DB=sqlite
COVERAGE=yes
env
:
DB=sqlite
-
stage
:
Test
php
:
7.2
...
...
@@ -83,44 +72,44 @@ jobs:
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.3
env
:
DB=mysql.docker IMAGE=mysql:5.7
COVERAGE=yes
env
:
DB=mysql.docker IMAGE=mysql:5.7
-
stage
:
Test
php
:
7.3
env
:
DB=mysql.docker IMAGE=mysql:8.0
COVERAGE=yes
env
:
DB=mysql.docker IMAGE=mysql:8.0
-
stage
:
Test
php
:
7.3
env
:
DB=mysqli.docker IMAGE=mysql:5.7
COVERAGE=yes
env
:
DB=mysqli.docker IMAGE=mysql:5.7
-
stage
:
Test
php
:
7.3
env
:
DB=mysqli.docker IMAGE=mysql:8.0
COVERAGE=yes
env
:
DB=mysqli.docker IMAGE=mysql:8.0
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.docker IMAGE=mariadb:10.0
COVERAGE=yes
env
:
DB=mariadb.docker IMAGE=mariadb:10.0
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.docker IMAGE=mariadb:10.1
COVERAGE=yes
env
:
DB=mariadb.docker IMAGE=mariadb:10.1
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.docker IMAGE=mariadb:10.2
COVERAGE=yes
env
:
DB=mariadb.docker IMAGE=mariadb:10.2
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.docker IMAGE=mariadb:10.3
COVERAGE=yes
env
:
DB=mariadb.docker IMAGE=mariadb:10.3
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.0
COVERAGE=yes
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.0
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.1
COVERAGE=yes
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.1
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.2
COVERAGE=yes
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.2
-
stage
:
Test
php
:
7.3
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.3
COVERAGE=yes
env
:
DB=mariadb.mysqli.docker IMAGE=mariadb:10.3
-
stage
:
Test
dist
:
trusty
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=9.2
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.2
services
:
-
postgresql
addons
:
...
...
@@ -128,29 +117,29 @@ jobs:
-
stage
:
Test
dist
:
trusty
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=9.3
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.3
services
:
-
postgresql
addons
:
postgresql
:
"
9.3"
-
stage
:
Test
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=9.4
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.4
addons
:
postgresql
:
"
9.4"
-
stage
:
Test
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=9.5
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.5
addons
:
postgresql
:
"
9.5"
-
stage
:
Test
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=9.6
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.6
addons
:
postgresql
:
"
9.6"
-
stage
:
Test
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=10.0
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=10.0
sudo
:
required
addons
:
postgresql
:
"
10"
...
...
@@ -158,13 +147,13 @@ jobs:
-
bash ./tests/travis/install-postgres-10.sh
-
stage
:
Test
php
:
7.3
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
7.3
env
:
DB=sqlsrv
COVERAGE=yes
env
:
DB=sqlsrv
sudo
:
required
before_script
:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
...
...
@@ -172,7 +161,7 @@ jobs:
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.3
env
:
DB=pdo_sqlsrv
COVERAGE=yes
env
:
DB=pdo_sqlsrv
sudo
:
required
before_script
:
-
bash ./tests/travis/install-sqlsrv-dependencies.sh
...
...
@@ -180,7 +169,7 @@ jobs:
-
bash ./tests/travis/install-mssql.sh
-
stage
:
Test
php
:
7.3
env
:
DB=ibm_db2
COVERAGE=yes
env
:
DB=ibm_db2
sudo
:
required
before_script
:
-
bash ./tests/travis/install-db2.sh
...
...
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