-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb32a8d
commit ed6dfcb
Showing
8 changed files
with
98 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
/composer.lock | ||
/vendor/ | ||
/Resources/doc/_build | ||
/bin/phpunit | ||
/bin/phpunit | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,8 @@ | ||
# Package `sllh/php-cs-fixer-styleci-bridge` is required to get it working. | ||
|
||
preset: symfony | ||
preset: psr2 | ||
|
||
enabled: | ||
# - class_keyword_remove | ||
- combine_consecutive_unsets | ||
# - long_array_syntax | ||
- newline_after_open_tag | ||
- no_php4_constructor | ||
- no_useless_else | ||
# - ordered_class_elements | ||
# - ordered_use | ||
# Comment strict rules for the moment. Should be uncomment later to see StyleCI PR results | ||
# - strict | ||
# - strict_param | ||
# - php_unit_construct | ||
# - php_unit_strict | ||
- strict | ||
|
||
finder: | ||
exclude: | ||
- 'Tests/Fixtures' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env sh | ||
set -ev | ||
|
||
# Database creation | ||
|
||
### | ||
### mysql | ||
### | ||
|
||
# (mysql service is started by default by travis for each build instance | ||
# (mysql travis user is created by travis for each build instance | ||
mysql -u travis -e 'CREATE DATABASE travis;' -v | ||
|
||
### | ||
### postgresql | ||
### | ||
|
||
# needed in .travis.yml | ||
#services: | ||
# - postgresql | ||
# or here : sudo /etc/init.d/postgresql start | ||
|
||
# (we try to create a travis user) | ||
# psql -c 'CREATE USER travis;' -U postgres | ||
# psql -c 'ALTER ROLE travis WITH CREATEDB;' -U postgres | ||
|
||
psql -c 'CREATE DATABASE travis;' -U postgres | ||
psql -c 'ALTER DATABASE travis OWNER TO travis' -U postgres | ||
|
||
|
||
#psql -U postgres -c "CREATE EXTENSION 'uuid-ossp';" | ||
|
||
### | ||
### | ||
### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
imports: | ||
- { resource: config.yml } | ||
|
||
# Doctrine Configuration | ||
doctrine: | ||
dbal: | ||
driver: pdo_mysql | ||
host: 127.0.0.1 | ||
port: null | ||
dbname: travis | ||
user: travis | ||
password: ~ | ||
charset: UTF8 | ||
orm: | ||
auto_mapping: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
imports: | ||
- { resource: config.yml } | ||
|
||
# Doctrine Configuration | ||
doctrine: | ||
dbal: | ||
driver: pdo_pgsql | ||
host: 127.0.0.1 | ||
port: 5432 | ||
dbname: travis | ||
user: travis | ||
password: ~ | ||
charset: UTF8 | ||
orm: | ||
auto_mapping: true |