aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/tests
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-09-26 11:56:15 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-09-26 11:56:15 +0200
commit03fb6fde5f02c4fce49fbe20ed384e693b805a0a (patch)
tree45d7144beaf305b182ca55a8d50178a492941636 /app/config/tests
parent57162494557c5eac938a7d6800ac1b112f73efc9 (diff)
downloadwallabag-03fb6fde5f02c4fce49fbe20ed384e693b805a0a.tar.gz
wallabag-03fb6fde5f02c4fce49fbe20ed384e693b805a0a.tar.zst
wallabag-03fb6fde5f02c4fce49fbe20ed384e693b805a0a.zip
Add multiple database tests on Travis
Diffstat (limited to 'app/config/tests')
-rw-r--r--app/config/tests/parameters.yml.dist.mysql58
-rw-r--r--app/config/tests/parameters.yml.dist.pgsql58
-rw-r--r--app/config/tests/parameters.yml.dist.sqlite58
3 files changed, 174 insertions, 0 deletions
diff --git a/app/config/tests/parameters.yml.dist.mysql b/app/config/tests/parameters.yml.dist.mysql
new file mode 100644
index 00000000..d8c23634
--- /dev/null
+++ b/app/config/tests/parameters.yml.dist.mysql
@@ -0,0 +1,58 @@
1# This file is a "template" of what your parameters.yml file should look like
2parameters:
3 database_driver: pdo_sqlite
4 database_host: 127.0.0.1
5 database_port: ~
6 database_name: symfony
7 database_user: root
8 database_password: ~
9 database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
10 database_table_prefix: wallabag_
11
12 test_database_driver: pdo_mysql
13 test_database_host: localhost
14 test_database_port: 3306
15 test_database_name: wallabag
16 test_database_user: root
17 test_database_password: ~
18 test_database_path: ~
19
20 mailer_transport: smtp
21 mailer_host: 127.0.0.1
22 mailer_user: ~
23 mailer_password: ~
24
25 locale: en
26
27 # A secret key that's used to generate certain security-related tokens
28 secret: ThisTokenIsNotSoSecretChangeIt
29
30 # wallabag misc
31 app.version: 2.0.0-alpha
32
33 # message to display at the bottom of the page
34 warning_message: >
35 You're trying wallabag v2, which is in alpha version. If you find a bug, please have a look to <a href="https://github.com/wallabag/wallabag/issues">our issues list</a> and <a href="https://github.com/wallabag/wallabag/issues/new">open a new if necessary</a>
36
37 download_pictures: false # if true, pictures will be stored into data/assets for each article
38
39 # Entry view
40 share_twitter: true
41 share_mail: true
42 share_shaarli: true
43 shaarli_url: http://myshaarli.com
44 share_diaspora: true
45 diaspora_url: http://diasporapod.com
46 flattr: true
47 carrot: true
48 show_printlink: true
49 export_epub: true
50 export_mobi: true
51 export_pdf: true
52
53 # default user config
54 items_on_page: 12
55 theme: material
56 language: en_US
57 from_email: no-reply@wallabag.org
58 rss_limit: 50
diff --git a/app/config/tests/parameters.yml.dist.pgsql b/app/config/tests/parameters.yml.dist.pgsql
new file mode 100644
index 00000000..7dc63880
--- /dev/null
+++ b/app/config/tests/parameters.yml.dist.pgsql
@@ -0,0 +1,58 @@
1# This file is a "template" of what your parameters.yml file should look like
2parameters:
3 database_driver: pdo_sqlite
4 database_host: 127.0.0.1
5 database_port: ~
6 database_name: symfony
7 database_user: root
8 database_password: ~
9 database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
10 database_table_prefix: wallabag_
11
12 test_database_driver: pdo_pgsql
13 test_database_host: localhost
14 test_database_port:
15 test_database_name: wallabag
16 test_database_user: travis
17 test_database_password: ~
18 test_database_path: ~
19
20 mailer_transport: smtp
21 mailer_host: 127.0.0.1
22 mailer_user: ~
23 mailer_password: ~
24
25 locale: en
26
27 # A secret key that's used to generate certain security-related tokens
28 secret: ThisTokenIsNotSoSecretChangeIt
29
30 # wallabag misc
31 app.version: 2.0.0-alpha
32
33 # message to display at the bottom of the page
34 warning_message: >
35 You're trying wallabag v2, which is in alpha version. If you find a bug, please have a look to <a href="https://github.com/wallabag/wallabag/issues">our issues list</a> and <a href="https://github.com/wallabag/wallabag/issues/new">open a new if necessary</a>
36
37 download_pictures: false # if true, pictures will be stored into data/assets for each article
38
39 # Entry view
40 share_twitter: true
41 share_mail: true
42 share_shaarli: true
43 shaarli_url: http://myshaarli.com
44 share_diaspora: true
45 diaspora_url: http://diasporapod.com
46 flattr: true
47 carrot: true
48 show_printlink: true
49 export_epub: true
50 export_mobi: true
51 export_pdf: true
52
53 # default user config
54 items_on_page: 12
55 theme: material
56 language: en_US
57 from_email: no-reply@wallabag.org
58 rss_limit: 50
diff --git a/app/config/tests/parameters.yml.dist.sqlite b/app/config/tests/parameters.yml.dist.sqlite
new file mode 100644
index 00000000..3ef7cda4
--- /dev/null
+++ b/app/config/tests/parameters.yml.dist.sqlite
@@ -0,0 +1,58 @@
1# This file is a "template" of what your parameters.yml file should look like
2parameters:
3 database_driver: pdo_sqlite
4 database_host: 127.0.0.1
5 database_port: ~
6 database_name: symfony
7 database_user: root
8 database_password: ~
9 database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
10 database_table_prefix: wallabag_
11
12 test_database_driver: pdo_sqlite
13 test_database_host: localhost
14 test_database_port:
15 test_database_name: ~
16 test_database_user: ~
17 test_database_password: ~
18 test_database_path: "%kernel.root_dir%/../data/db/wallabag_test.sqlite"
19
20 mailer_transport: smtp
21 mailer_host: 127.0.0.1
22 mailer_user: ~
23 mailer_password: ~
24
25 locale: en
26
27 # A secret key that's used to generate certain security-related tokens
28 secret: ThisTokenIsNotSoSecretChangeIt
29
30 # wallabag misc
31 app.version: 2.0.0-alpha
32
33 # message to display at the bottom of the page
34 warning_message: >
35 You're trying wallabag v2, which is in alpha version. If you find a bug, please have a look to <a href="https://github.com/wallabag/wallabag/issues">our issues list</a> and <a href="https://github.com/wallabag/wallabag/issues/new">open a new if necessary</a>
36
37 download_pictures: false # if true, pictures will be stored into data/assets for each article
38
39 # Entry view
40 share_twitter: true
41 share_mail: true
42 share_shaarli: true
43 shaarli_url: http://myshaarli.com
44 share_diaspora: true
45 diaspora_url: http://diasporapod.com
46 flattr: true
47 carrot: true
48 show_printlink: true
49 export_epub: true
50 export_mobi: true
51 export_pdf: true
52
53 # default user config
54 items_on_page: 12
55 theme: material
56 language: en_US
57 from_email: no-reply@wallabag.org
58 rss_limit: 50