Skip to content

Commit 4e07bf7

Browse files
updated dabase-config
1 parent 4b7ce0f commit 4e07bf7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
language: php
22

3-
services:
4-
- mysql
5-
63
php:
74
- 5.5
85
- 5.6
@@ -19,7 +16,8 @@ install:
1916
- wget https://scrutinizer-ci.com/ocular.phar
2017

2118
before_script:
22-
- mysql -e 'create database task_test;'
19+
- STORAGE=doctrine tests/app/console doctrine:database:create
20+
- STORAGE=doctrine tests/app/console doctrine:schema:create
2321

2422
script:
2523
- phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover

tests/app/config/config.doctrine.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ doctrine:
66
auto_generate_proxy_classes: %kernel.debug%
77
auto_mapping: true
88
dbal:
9-
driver: pdo_mysql
9+
driver: pdo_sqlite
1010
host: localhost
1111
port: ~
1212
dbname: task_test
1313
user: root
1414
password: ~
1515
charset: UTF8
16+
path: '%kernel.root_dir%/data/database.sqlite'

tests/app/data/.empty

Whitespace-only changes.

0 commit comments

Comments
 (0)