mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-02 23:16:13 +00:00
add travis
This commit is contained in:
parent
22c89aad88
commit
e9ef11896b
28
.travis.yml
Normal file
28
.travis.yml
Normal file
@ -0,0 +1,28 @@
|
||||
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 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
|
Loading…
x
Reference in New Issue
Block a user