mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 11:47:53 +02:00
Try again to fix travis failing at every sqlite tests
This commit is contained in:
parent
4452a0b920
commit
b47e9de4c9
@ -10,17 +10,12 @@ php:
|
|||||||
services:
|
services:
|
||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.composer/cache
|
|
||||||
- $HOME/vendor
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mysql -e 'CREATE DATABASE 2fauth_test;'
|
- mysql -e 'CREATE DATABASE 2fauth_test;'
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- travis_retry composer self-update
|
- travis_retry composer self-update
|
||||||
- travis_retry composer install --no-interaction --prefer-source
|
- travis_retry composer install --no-interaction
|
||||||
# no need to use a dedicated Travis .env file as phpunit
|
# no need to use a dedicated Travis .env file as phpunit
|
||||||
# will use .env.testing by default
|
# will use .env.testing by default
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
</testsuites>
|
</testsuites>
|
||||||
<php>
|
<php>
|
||||||
<env name="APP_ENV" value="testing"/>
|
<env name="APP_ENV" value="testing"/>
|
||||||
<!-- Use .env.testing to customize other testing vars -->
|
<!-- following values override .env.testing vars -->
|
||||||
|
<env name="DB_CONNECTION" value="sqlite"/>
|
||||||
|
<env name="DB_DATABASE" value=":memory:"/>
|
||||||
</php>
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user