Propel2
Propel2 copied to clipboard
Missing test execution [Oracle] [Travis-ci]
Presently there are no tests running against an Oracle environment on Travis.
In theory this should be possible to do via adding a job like this:
- name: Oracle
php: 7.4
env: DB=oracle
install:
- >
docker run \
-d \
-e ORACLE_PWD=password \
-p 1521:1521 -p 5500:5500 \
oracle/database:18.4.0-xe
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- composer install -v
There will be some other steps need however:
- Creating the build setup scripts for Oracle:
tests/bin/oracle.mssql.sh,tests/oracle.phpunit.xml,tests/bin/phpunit.oracle.sh - Writing the actual Oracle-friendly-syntax for these setup scripts, ports, password, etc. All the basic setup stuff isn't done for us out-of-the-box.
- Installing the cli-client to run oracle commands against (or pass it through docker exec, that's also possible)
- Installing the right PDO drivers for Oracle (looks like it's PDO_OCI ? )