1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:54:04 +00:00
tenancy/.travis.yml
Samuel Štancl d4472469f0
[2.x] Add CreateTenant command (#153)
* Add CreateTenant command, fix TenantList output

* Create command test
2019-10-04 20:22:23 +02:00

26 lines
737 B
YAML

# env:
# - LARAVEL_VERSION="^6.0" TESTBENCH_VERSION="~4.0" REDIS_DRIVER=phpredis
language: php
php:
- '7.2'
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"
install:
- travis_retry docker-compose exec test composer install --no-interaction
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: ./fulltest
after_success:
- bash <(curl -s https://codecov.io/bash)