mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-25 19:46:13 +00:00
Squashed commit of the following: commit 7baa7bddc3a1613816c691e454841baa885a5095 Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Oct 26 21:13:47 2015 +0100 fix auth and database url commit c47ad68586749e19fce125da9820d0fd0b2bf575 Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Oct 26 20:59:33 2015 +0100 add gitlab-ci
18 lines
560 B
YAML
18 lines
560 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
|
|
- ./console.sh --env=test cache:warmup
|
|
- ./console.sh doctrine:migrations:migrate --env=test --no-interaction
|
|
- ./console.sh doctrine:fixtures:load --env=test --no-interaction
|
|
|
|
test:php-5.6:
|
|
stage: test
|
|
script: phpunit --testdox
|
|
test:php-7:
|
|
stage: test
|
|
script: phpunit --testdox
|