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
a0ba0af4
Commit
a0ba0af4
authored
Nov 13, 2011
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge travis support done by @pborreli
parent
7da630a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
95 additions
and
0 deletions
+95
-0
.travis.yml
.travis.yml
+20
-0
mysql.travis.xml
tests/travis/mysql.travis.xml
+32
-0
pgsql.travis.xml
tests/travis/pgsql.travis.xml
+29
-0
sqlite.travis.xml
tests/travis/sqlite.travis.xml
+14
-0
No files found.
.travis.yml
0 → 100644
View file @
a0ba0af4
language
:
php
php
:
-
5.3
-
5.4
env
:
-
DB=mysql
-
DB=pgsql
-
DB=sqlite
before_script
:
-
sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS doctrine_tests;' -U postgres; fi"
-
sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS doctrine_tests_tmp;' -U postgres; fi"
-
sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests;' -U postgres; fi"
-
sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests_tmp;' -U postgres; fi"
-
sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
-
git submodule update --init
script
:
phpunit --configuration tests/travis/$DB.travis.xml
tests/travis/mysql.travis.xml
0 → 100644
View file @
a0ba0af4
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<php>
<var
name=
"db_type"
value=
"pdo_mysql"
/>
<var
name=
"db_host"
value=
"localhost"
/>
<!--var name="db_username" value="" /-->
<!--var name="db_password" value="" /-->
<var
name=
"db_name"
value=
"doctrine_tests"
/>
<var
name=
"db_port"
value=
"3306"
/>
<var
name=
"tmpdb_type"
value=
"pdo_mysql"
/>
<var
name=
"tmpdb_host"
value=
"localhost"
/>
<!--var name="tmpdb_username" value="" /-->
<!--var name="tmpdb_password" value="" /-->
<var
name=
"tmpdb_name"
value=
"doctrine_tests_tmp"
/>
<var
name=
"tmpdb_port"
value=
"3306"
/>
</php>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
./../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>
performance
</group>
<group>
locking_functional
</group>
</exclude>
</groups>
</phpunit>
tests/travis/pgsql.travis.xml
0 → 100644
View file @
a0ba0af4
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<php>
<var
name=
"db_type"
value=
"pdo_pgsql"
/>
<var
name=
"db_host"
value=
"localhost"
/>
<var
name=
"db_username"
value=
"postgres"
/>
<var
name=
"db_password"
value=
""
/>
<var
name=
"db_name"
value=
"doctrine_tests"
/>
<var
name=
"db_port"
value=
"5432"
/>
<var
name=
"tmpdb_type"
value=
"pdo_pgsql"
/>
<var
name=
"tmpdb_host"
value=
"localhost"
/>
<var
name=
"tmpdb_username"
value=
"postgres"
/>
<var
name=
"tmpdb_password"
value=
""
/>
<var
name=
"tmpdb_name"
value=
"doctrine_tests_tmp"
/>
<var
name=
"tmpdb_port"
value=
"5432"
/>
</php>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
./../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>
performance
</group>
<group>
locking_functional
</group>
</exclude>
</groups>
</phpunit>
\ No newline at end of file
tests/travis/sqlite.travis.xml
0 → 100644
View file @
a0ba0af4
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
./../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>
performance
</group>
<group>
locking_functional
</group>
</exclude>
</groups>
</phpunit>
\ No newline at end of file
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