mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 09:54:03 +00:00
add phpunit.xml variations
This commit is contained in:
parent
7c598ae2fe
commit
89990799f2
8 changed files with 628 additions and 34 deletions
|
|
@ -9,9 +9,6 @@ php:
|
|||
services:
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- docker-compose up -d
|
||||
|
||||
install:
|
||||
- travis_retry docker-compose exec test composer require --no-interaction "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
||||
|
||||
|
|
@ -19,10 +16,7 @@ before_script:
|
|||
- export DB_USERNAME=root DB_PASSWORD="" DB_DATABASE=tenancy CODECOV_TOKEN="24382d15-84e7-4a55-bea4-c4df96a24a9b"
|
||||
- cat vendor/laravel/framework/src/Illuminate/Foundation/Application.php| grep 'const VERSION'
|
||||
|
||||
script: docker-compose exec test vendor/bin/phpunit -v --coverage-clover=coverage.xml
|
||||
|
||||
after_script:
|
||||
- docker-compose down
|
||||
script: ./test
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue