mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
add .travis.yml file
This commit is contained in:
parent
15c3916c8b
commit
08af301eee
29
.travis.yml
Normal file
29
.travis.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
language: php
|
||||||
|
php:
|
||||||
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- hhvm-nightly
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm-nightly
|
||||||
|
|
||||||
|
addons:
|
||||||
|
postgresql: "9.3"
|
||||||
|
|
||||||
|
install:
|
||||||
|
- composer install --dev
|
||||||
|
- cp Tests/Fixtures/App/config/parameters.travis.yml Tests/Fixtures/App/config/parameters.yml
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- psql -c 'create database test0;' -U postgres
|
||||||
|
- php Tests/Fixtures/App/console --env=test cache:warmup
|
||||||
|
- php Tests/Fixtures/App/console assets:install Tests/Fixtures/App/web
|
||||||
|
- php Tests/Fixtures/App/console doctrine:schema:create --env=test --no-interaction
|
||||||
|
- php Tests/Fixtures/App/console doctrine:fixtures:load --env=test --no-interaction
|
||||||
|
|
||||||
|
script: phpunit --coverage-text
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
- info@champs-libres.coop
|
7
Tests/Fixtures/App/config/parameters.travis.yml
Normal file
7
Tests/Fixtures/App/config/parameters.travis.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
parameters:
|
||||||
|
database_host: 127.0.0.1
|
||||||
|
database_port: 5432
|
||||||
|
database_name: test0
|
||||||
|
database_user: postgres
|
||||||
|
database_password: postgres
|
||||||
|
locale: fr
|
Loading…
x
Reference in New Issue
Block a user