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