language: php
php:
  - '5.4'
  - '5.5'
  - '5.6'
  - '7.0'
  - hhvm
  - nightly
  
sudo: true

addons:
  mariadb: 10.1

before_install:
  - 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 -u root -e "set global binlog_format = 'row';"
  - mysql -u root -e "set global log_bin_trust_function_creators = 1;"
  
install:
  - composer self-update
  - composer update
    
script: 
  - ./bin/phing unit
  


language: php
php:
  - '5.4'
  - '5.5'
  - '5.6'
  - '7.0'
  - hhvm
  - nightly
  
sudo: true

addons:
  mariadb: 10.1

before_install:
  - 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 -u root -e "set global binlog_format = 'row';"
  - mysql -u root -e "set global log_bin_trust_function_creators = 1;"
  - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -e
  
install:
  - composer self-update
  - composer update
    
script: 
  - ./bin/phing unit
  


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