mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
add gitlab ci
Squashed commit of the following: commit ff63a334213c4965e06d33aedb72a03cb79fcc57 Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Oct 26 21:19:57 2015 +0100 add gitlab-ci files
This commit is contained in:
parent
426849f169
commit
8a7503ce38
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
composer.lock
|
||||
Tests/Fixtures/App/app/config/parameters.yml
|
||||
*~
|
||||
auth.json
|
||||
|
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@ -0,0 +1,17 @@
|
||||
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 --env=test cache:warmup
|
||||
- php Tests/Fixtures/App/app/console doctrine:migrations:migrate --env=test --no-interaction
|
||||
- php Tests/Fixtures/App/app/console doctrine:fixtures:load --env=test --no-interaction
|
||||
|
||||
test:php-5.6:
|
||||
stage: test
|
||||
script: phpunit --testdox
|
||||
test:php-7:
|
||||
stage: test
|
||||
script: phpunit --testdox
|
7
Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml
Normal file
7
Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml
Normal file
@ -0,0 +1,7 @@
|
||||
parameters:
|
||||
database_host: chill__database
|
||||
database_port: 5432
|
||||
database_name: postgres
|
||||
database_user: postgres
|
||||
database_password: postgres
|
||||
locale: fr
|
Loading…
x
Reference in New Issue
Block a user