build:
    tests:
        before:
            - mysql --version
            - mysql -u root -e "create database if not exists test_audit character set = 'utf8' collate='utf8_general_ci';"
            - mysql -u root -e "create database if not exists test_data character set = 'utf8' collate='utf8_general_ci';"
            - mysql -u root -e "create user 'test'@'localhost' identified by 'test';"
            - mysql -u root -e "grant all on test_audit.* to 'test'@'localhost';"
            - mysql -u root -e "grant all on test_data.*  to 'test'@'localhost';"

        override:
            -
                command: './bin/phing unit'
                coverage:
                    file: 'test/coverage.xml'
                    format: 'php-clover'

build:
    tests:
        before:
            - mysql --version
            - mysql -u root -e "create database if not exists test_audit character set = 'utf8' collate='utf8_general_ci';"
            - mysql -u root -e "create database if not exists test_data character set = 'utf8' collate='utf8_general_ci';"
            - mysql -u root -e "create user 'test'@'localhost' identified by 'test';"
            - mysql -u root -e "grant all on test_audit.* to 'test'@'localhost';"
            - mysql -u root -e "grant all on test_data.*  to 'test'@'localhost';"
            - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

        override:
            -
                command: './bin/phing unit'
                coverage:
                    file: 'test/coverage.xml'
                    format: 'php-clover'

Load all time zones into MySQL.
Load all time zones into MySQL.
