mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 14:36:13 +00:00
add travis
This commit is contained in:
parent
684e19f42a
commit
0dc198f4e3
26
.travis.yml
Normal file
26
.travis.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
language: php
|
||||||
|
php:
|
||||||
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- hhvm-nightly
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm-nightly
|
||||||
|
|
||||||
|
addons:
|
||||||
|
postgresql: "9.3"
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- psql -c 'create database test0;' -U postgres
|
||||||
|
- cp Tests/Fixtures/App/app/config/parameters.travis.yml Test/Fixtures/App/app/config/parameters.yml
|
||||||
|
- ./console.sh doctrine:schema:create
|
||||||
|
|
||||||
|
install:
|
||||||
|
- composer install --dev
|
||||||
|
|
||||||
|
script: phpunit --coverage-text
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
- info@champs-libres.coop
|
6
Tests/Fixtures/App/app/config/parameters.travis.yml
Normal file
6
Tests/Fixtures/App/app/config/parameters.travis.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
parameters:
|
||||||
|
database_host: 127.0.0.1
|
||||||
|
database_port: 5434
|
||||||
|
database_name: test0
|
||||||
|
database_user: postgres
|
||||||
|
database_password: postgres
|
Loading…
x
Reference in New Issue
Block a user