mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-22 18:24:23 +00:00
19 lines
651 B
YAML
19 lines
651 B
YAML
services:
|
|
- chill/database:latest
|
|
|
|
before_script:
|
|
- composer config github-oauth.github.com $GITHUB_TOKEN
|
|
- composer install --no-interaction
|
|
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
|
|
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
|
|
- php Tests/Fixtures/App/app/console.php doctrine:migrations:migrate --env=test --no-interaction
|
|
- php Tests/Fixtures/App/app/console.php doctrine:fixtures:load --env=test --no-interaction
|
|
|
|
test:php-5.6:
|
|
stage: test
|
|
script: phpunit
|
|
test:php-7:
|
|
image: chill/ci-image:php-7
|
|
stage: test
|
|
script: phpunit
|