mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:54:03 +00:00
* Laravel 7 support * Remove language from travis.yml * Fix travis.yml * Consistent indentation in travis.yml * Use dev-master for phpcov * Cleanup * switch up envs * verify both laravel versions are used * 6 -> 7 * Fix travis yml * Use stable phpcov * Different installation for Laravel 7 * Indentation * Fix dockerfile * Fix indentation * Fix tests * Remove fail() calls
26 lines
666 B
YAML
26 lines
666 B
YAML
env:
|
|
- LARAVEL_VERSION="^7.0"
|
|
- LARAVEL_VERSION="^6.0"
|
|
|
|
# language: php
|
|
# php:
|
|
# - '7.4'
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
- docker-compose up -d
|
|
|
|
install:
|
|
- travis_retry docker-compose exec test composer require --no-interaction "laravel/framework:$LARAVEL_VERSION"
|
|
- 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)
|