mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-11 16:58:58 +01: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:
|
||||
- mysql
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
- $HOME/vendor
|
||||
|
||||
before_install:
|
||||
- mysql -e 'CREATE DATABASE 2fauth_test;'
|
||||
|
||||
before_script:
|
||||
- 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
|
||||
# will use .env.testing by default
|
||||
|
||||
|
@ -30,6 +30,8 @@
|
||||
</testsuites>
|
||||
<php>
|
||||
<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>
|
||||
</phpunit>
|
||||
|
Loading…
Reference in New Issue
Block a user