mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:14:03 +00:00
26 lines
733 B
YAML
26 lines
733 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: ./test
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|