language: php

php:
  - 5.2
  - 5.3
  - 5.4

before_script:
  - cd tests
  - mysql -u root -e 'CREATE SCHEMA `yii`; GRANT ALL ON `yii`.* TO test@localhost IDENTIFIED BY "test"; FLUSH PRIVILEGES;'
  - mysql -u root -D yii < framework/db/data/mysql.sql

script: phpunit --verbose --coverage-html reports framework

language: php

php:
  - 5.2
  - 5.3
  - 5.4

before_script:
  - cd tests
  - mysql -u root -e 'CREATE SCHEMA `yii`; GRANT ALL ON `yii`.* TO test@localhost IDENTIFIED BY "test"; FLUSH PRIVILEGES;'
  - mysql -u root -D yii < framework/db/data/mysql.sql

script: phpunit --verbose --coverage-text framework

Print coverage to stdin instead of creating unreachable html-files.
Print coverage to stdin instead of creating unreachable html-files.