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
d1695ed1
Unverified
Commit
d1695ed1
authored
Apr 22, 2019
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switching Travis CI builds to Ubuntu Xenial Xerus
parent
3165b3f8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
123 additions
and
19 deletions
+123
-19
.travis.yml
.travis.yml
+16
-16
create-mysql-schema.sql
tests/travis/create-mysql-schema.sql
+3
-0
install-mariadb.sh
tests/travis/install-mariadb.sh
+13
-0
install-sqlsrv-dependencies.sh
tests/travis/install-sqlsrv-dependencies.sh
+1
-1
mariadb.docker.travis.xml
tests/travis/mariadb.docker.travis.xml
+45
-0
mariadb.mysqli.docker.travis.xml
tests/travis/mariadb.mysqli.docker.travis.xml
+45
-0
mariadb.mysqli.travis.xml
tests/travis/mariadb.mysqli.travis.xml
+0
-2
No files found.
.travis.yml
View file @
d1695ed1
language
:
php
language
:
php
sudo
:
false
sudo
:
false
dist
:
trusty
dist
:
xenial
cache
:
cache
:
directories
:
directories
:
...
@@ -174,6 +174,8 @@ jobs:
...
@@ -174,6 +174,8 @@ jobs:
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mysql COVERAGE=yes
env
:
DB=mysql COVERAGE=yes
services
:
-
mysql
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes
env
:
DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes
...
@@ -191,6 +193,8 @@ jobs:
...
@@ -191,6 +193,8 @@ jobs:
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mysqli COVERAGE=yes
env
:
DB=mysqli COVERAGE=yes
services
:
-
mysql
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes
env
:
DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes
...
@@ -207,9 +211,11 @@ jobs:
...
@@ -207,9 +211,11 @@ jobs:
-
bash ./tests/travis/install-mysql-8.0.sh
-
bash ./tests/travis/install-mysql-8.0.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mariadb MARIADB_VERSION=10.1 COVERAGE=yes
env
:
DB=mariadb.docker MARIADB_VERSION=10.1 COVERAGE=yes
addons
:
services
:
mariadb
:
10.1
-
docker
before_script
:
-
bash ./tests/travis/install-mariadb.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes
env
:
DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes
...
@@ -222,9 +228,11 @@ jobs:
...
@@ -222,9 +228,11 @@ jobs:
mariadb
:
10.3
mariadb
:
10.3
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.1 COVERAGE=yes
env
:
DB=mariadb.mysqli.docker MARIADB_VERSION=10.1 COVERAGE=yes
addons
:
services
:
mariadb
:
10.1
-
docker
before_script
:
-
bash ./tests/travis/install-mariadb.sh
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes
env
:
DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes
...
@@ -238,32 +246,24 @@ jobs:
...
@@ -238,32 +246,24 @@ jobs:
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
services
:
-
postgresql
addons
:
addons
:
postgresql
:
"
9.4"
postgresql
:
"
9.4"
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
services
:
-
postgresql
addons
:
addons
:
postgresql
:
"
9.5"
postgresql
:
"
9.5"
-
stage
:
Test
-
stage
:
Test
php
:
7.4
php
:
7.4
env
:
DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
env
:
DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
services
:
-
postgresql
addons
:
addons
:
postgresql
:
"
9.6"
postgresql
:
"
9.6"
-
stage
:
Test
-
stage
:
Test
php
:
7.4
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
:
-
postgresql
addons
:
addons
:
postgresql
:
"
10
.0
"
postgresql
:
"
10"
before_script
:
before_script
:
-
bash ./tests/travis/install-postgres-10.sh
-
bash ./tests/travis/install-postgres-10.sh
-
stage
:
Test
-
stage
:
Test
...
...
tests/travis/create-mysql-schema.sql
View file @
d1695ed1
DROP
USER
IF
EXISTS
'travis'
@
'%'
;
CREATE
USER
'travis'
@
'%'
;
CREATE
SCHEMA
doctrine_tests
;
CREATE
SCHEMA
doctrine_tests
;
CREATE
SCHEMA
test_create_database
;
CREATE
SCHEMA
test_create_database
;
CREATE
SCHEMA
test_drop_database
;
CREATE
SCHEMA
test_drop_database
;
...
...
tests/travis/install-mariadb.sh
0 → 100644
View file @
d1695ed1
#!/usr/bin/env bash
set
-ex
sudo
docker run
\
-d
\
-e
MYSQL_ALLOW_EMPTY_PASSWORD
=
yes
\
-e
MYSQL_DATABASE
=
doctrine_tests
\
-p
33306:3306
\
--name
mariadb
\
mariadb:
${
MARIADB_VERSION
}
sudo
docker
exec
-i
mariadb bash
<<<
'until echo \\q | mysql doctrine_tests > /dev/null 2>&1 ; do sleep 1; done'
tests/travis/install-sqlsrv-dependencies.sh
View file @
d1695ed1
...
@@ -5,6 +5,6 @@ set -ex
...
@@ -5,6 +5,6 @@ set -ex
echo
Installing driver dependencies
echo
Installing driver dependencies
curl https://packages.microsoft.com/keys/microsoft.asc |
sudo
apt-key add -
curl https://packages.microsoft.com/keys/microsoft.asc |
sudo
apt-key add -
curl https://packages.microsoft.com/config/ubuntu/1
4
.04/prod.list |
sudo tee
/etc/apt/sources.list.d/mssql.list
curl https://packages.microsoft.com/config/ubuntu/1
6
.04/prod.list |
sudo tee
/etc/apt/sources.list.d/mssql.list
sudo
apt-get update
sudo
apt-get update
ACCEPT_EULA
=
Y
sudo
apt-get
install
-qy
msodbcsql17 unixodbc unixodbc-dev libssl1.0.0
ACCEPT_EULA
=
Y
sudo
apt-get
install
-qy
msodbcsql17 unixodbc unixodbc-dev libssl1.0.0
tests/travis/mariadb.docker.travis.xml
0 → 100644
View file @
d1695ed1
<?xml version="1.0" encoding="utf-8"?>
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"../../vendor/phpunit/phpunit/phpunit.xsd"
colors=
"true"
beStrictAboutOutputDuringTests=
"true"
beStrictAboutTodoAnnotatedTests=
"true"
failOnRisky=
"true"
failOnWarning=
"true"
>
<php>
<ini
name=
"error_reporting"
value=
"-1"
/>
<var
name=
"db_type"
value=
"pdo_mysql"
/>
<var
name=
"db_host"
value=
"127.0.0.1"
/>
<var
name=
"db_username"
value=
"root"
/>
<var
name=
"db_password"
value=
""
/>
<var
name=
"db_name"
value=
"doctrine_tests"
/>
<var
name=
"db_port"
value=
"33306"
/>
<var
name=
"tmpdb_type"
value=
"pdo_mysql"
/>
<var
name=
"tmpdb_host"
value=
"127.0.0.1"
/>
<var
name=
"tmpdb_username"
value=
"root"
/>
<var
name=
"tmpdb_password"
value=
""
/>
<var
name=
"tmpdb_port"
value=
"33306"
/>
</php>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory
suffix=
".php"
>
../../lib/Doctrine
</directory>
</whitelist>
</filter>
<groups>
<exclude>
<group>
performance
</group>
<group>
locking_functional
</group>
</exclude>
</groups>
</phpunit>
tests/travis/mariadb.mysqli.docker.travis.xml
0 → 100644
View file @
d1695ed1
<?xml version="1.0" encoding="utf-8"?>
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"../../vendor/phpunit/phpunit/phpunit.xsd"
colors=
"true"
beStrictAboutOutputDuringTests=
"true"
beStrictAboutTodoAnnotatedTests=
"true"
failOnRisky=
"true"
failOnWarning=
"true"
>
<php>
<ini
name=
"error_reporting"
value=
"-1"
/>
<var
name=
"db_type"
value=
"mysqli"
/>
<var
name=
"db_host"
value=
"127.0.0.1"
/>
<var
name=
"db_username"
value=
"root"
/>
<var
name=
"db_password"
value=
""
/>
<var
name=
"db_name"
value=
"doctrine_tests"
/>
<var
name=
"db_port"
value=
"33306"
/>
<var
name=
"tmpdb_type"
value=
"mysqli"
/>
<var
name=
"tmpdb_host"
value=
"127.0.0.1"
/>
<var
name=
"tmpdb_username"
value=
"root"
/>
<var
name=
"tmpdb_password"
value=
""
/>
<var
name=
"tmpdb_port"
value=
"33306"
/>
</php>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory
suffix=
".php"
>
../../lib/Doctrine
</directory>
</whitelist>
</filter>
<groups>
<exclude>
<group>
performance
</group>
<group>
locking_functional
</group>
</exclude>
</groups>
</phpunit>
tests/travis/mariadb.mysqli.travis.xml
View file @
d1695ed1
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"../../vendor/phpunit/phpunit/phpunit.xsd"
xsi:noNamespaceSchemaLocation=
"../../vendor/phpunit/phpunit/phpunit.xsd"
colors=
"true"
colors=
"true"
bootstrap=
"../../vendor/autoload.php"
beStrictAboutOutputDuringTests=
"true"
beStrictAboutOutputDuringTests=
"true"
beStrictAboutTodoAnnotatedTests=
"true"
beStrictAboutTodoAnnotatedTests=
"true"
failOnRisky=
"true"
failOnRisky=
"true"
...
@@ -44,4 +43,3 @@
...
@@ -44,4 +43,3 @@
</exclude>
</exclude>
</groups>
</groups>
</phpunit>
</phpunit>
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