diff --git a/build/docker_install.sh b/build/docker_install.sh index 87a5a97..5c25333 100644 --- a/build/docker_install.sh +++ b/build/docker_install.sh @@ -17,7 +17,8 @@ curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar chmod +x /usr/local/bin/phpunit # 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 # Here you can install any other extension that you need diff --git a/tests/settings-ci.json b/tests/settings-ci.json new file mode 100644 index 0000000..0c632ae --- /dev/null +++ b/tests/settings-ci.json @@ -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 + } +} \ No newline at end of file