Use special config for docker tests
This commit is contained in:
parent
06ba85ca6a
commit
a7df1a0d0b
@ -17,7 +17,8 @@ curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
|||||||
chmod +x /usr/local/bin/phpunit
|
chmod +x /usr/local/bin/phpunit
|
||||||
|
|
||||||
# Set up build config
|
# Set up build config
|
||||||
mv "$DIR/../tests/settings.json.dist" "$DIR/../tests/settings.json"
|
rm "$DIR/../tests/settings.json.dist"
|
||||||
|
mv "$DIR/../tests/settings-ci.json" "$DIR/../tests/settings.json"
|
||||||
|
|
||||||
# Install mysql driver
|
# Install mysql driver
|
||||||
# Here you can install any other extension that you need
|
# Here you can install any other extension that you need
|
||||||
|
29
tests/settings-ci.json
Normal file
29
tests/settings-ci.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"mysql": {
|
||||||
|
"host":"mysql",
|
||||||
|
"database":"test",
|
||||||
|
"user":"test",
|
||||||
|
"name":"my",
|
||||||
|
"alias":"my",
|
||||||
|
"prefix":"create_",
|
||||||
|
"pass":""
|
||||||
|
},
|
||||||
|
"pgsql": {
|
||||||
|
"host":"postgres",
|
||||||
|
"database":"test",
|
||||||
|
"name":"pg",
|
||||||
|
"user":"test",
|
||||||
|
"pass":"test",
|
||||||
|
"prefix":"create_",
|
||||||
|
"port":5432
|
||||||
|
},
|
||||||
|
"oci": {
|
||||||
|
"host":"localhost",
|
||||||
|
"database":"query_test",
|
||||||
|
"name": "oci",
|
||||||
|
"user": "query_test",
|
||||||
|
"pass": "test",
|
||||||
|
"prefix": "create_",
|
||||||
|
"port":49161
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user