It failed, again...

This commit is contained in:
Bubka 2022-04-04 17:37:57 +02:00
parent 34db59a991
commit f3f658675a

View File

@ -7,23 +7,27 @@ language: php
php: php:
- 7.4 - 7.4
- 8.0 # - 8.0
services: services:
- mysql - mysql
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 - 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
- php artisan cache:clear
script: script:
- DATABASE=mysql vendor/bin/phpunit -c phpunit-mysql.xml # - DATABASE=mysql vendor/bin/phpunit -c phpunit-mysql.xml
- cp .env.travis .env
- php artisan cache:clear
- php artisan config:clear - php artisan config:clear
- php artisan key:generate
- DATABASE=sqlite vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.xml - DATABASE=sqlite vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.xml
after_success: after_success: