mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-09 15:09:30 +01:00
Add sqlite3 version display to travis
This commit is contained in:
parent
b8fc5e6027
commit
227b2b2870
11
.travis.yml
11
.travis.yml
@ -5,13 +5,13 @@ 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
|
||||||
@ -20,15 +20,16 @@ before_script:
|
|||||||
# will use .env.testing by default
|
# will use .env.testing by default
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- DATABASE=mysql vendor/bin/phpunit -c phpunit-mysql.xml
|
# - DATABASE=mysql vendor/bin/phpunit -c phpunit-mysql.xml
|
||||||
- cp .env.travis .env
|
- cp .env.travis .env
|
||||||
- php artisan config:clear
|
- php artisan config:clear
|
||||||
- php artisan key:generate
|
- php artisan key:generate
|
||||||
|
- sqlite3 --version
|
||||||
- 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:
|
||||||
# Submit coverage report to https://codecov.io
|
# Submit coverage report to https://codecov.io
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
# - bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
# Monitor only these branches
|
# Monitor only these branches
|
||||||
branches:
|
branches:
|
||||||
|
Loading…
Reference in New Issue
Block a user