chill-bundles/.gitlab-ci.yml
Julien Fastré 903c115aa2 adding gitlab-ci
Squashed commit of the following:

commit 5a7195e4beb496c641b9bdb13ade5cf864d59eff
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:15:15 2015 +0200

    correct files paths

commit 346ac3eaaf9e1da1915d08d525c7a488d75099af
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:13:12 2015 +0200

    correct paths

commit 8720941f9b0e8e381f24108b0f3357d89f2e9b44
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:07:30 2015 +0200

    add gitlab-ci to project
2015-10-19 22:36:35 +02:00

18 lines
626 B
YAML

services:
- chill/database:latest
before_script:
- export GITHUB_COMPOSER_AUTH=$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 --testdox
test:php-7:
stage: test
script: phpunit --testdox