run test from console
$ phpunit.phar
or you can setup vars for doctrine pdo driver like this
$ export DB_NAME=acme && export DB_USER=acme && export DB_PASSWD=acme && export DB=mysql && export DB_HOST=acme && phpunit.phar
according to default credentials for travis CI you must run
$ export DB_NAME=lexik_test && export DB_USER=root && unset DB_PASSWD && unset DB && unset DB_HOST && phpunit.phar
Available variables are:
- ORM - orm system, currently we support doctrine2 and mongo
- DB_NAME - database name (default: lexik_translation_test)
- DB_USER - database user name (default: root)
- DB_PASSWD - database user password (default: null)
- DB_ENGINE - database engine (default: pdo_mysql)
- DB_PORT - database port (default: null)