language: php

before_script:
  - composer self-update
  - composer install
  - php app/console doctrine:database:create --env=test
  - php app/console doctrine:schema:create --env=test
  - php app/console doctrine:fixtures:load -n --env=test

script:
  - phpunit -c app

notifications:
  email:
    -  llopez@sopinet.com
language: php

before_script:
  - composer self-update
  - composer install
  - mysql -e 'drop database if exists symfony;'
  - mysql -e 'create database symfony;'
  - php app/console doctrine:database:create --env=test
  - php app/console doctrine:schema:create --env=test
  - php app/console doctrine:fixtures:load -n --env=test

script:
  - phpunit -c app

notifications:
  email:
    -  llopez@sopinet.com
Remove and create database symfony
Remove and create database symfony
