before_script:
    - "git submodule update --init"
    - sed -e 's/@db_adapter_mysql_enabled@/true/g' -e 's/@db_adapter_mysql_host@/127.0.0.1/g' -e 's/@db_adapter_mysql_username@/root/g' -e 's/@db_adapter_mysql_password@//g' -e 's/@db_adapter_mysql_database@/phinx_testing/g' -e 's/@db_adapter_mysql_port@/3306/g' tests/TestConfiguration.php.dist > tests/TestConfiguration.php
    - cat tests/TestConfiguration.php
language: php
php:
  - 5.3
  - 5.4
script: "phpunit --configuration tests/phpunit.xml"
before_script:
    - "git submodule update --init"
    - mysql -e 'create database phinx_testing;'
    - sed -e 's/@db_adapter_mysql_enabled@/true/g' -e 's/@db_adapter_mysql_host@/127.0.0.1/g' -e 's/@db_adapter_mysql_username@/root/g' -e 's/@db_adapter_mysql_password@//g' -e 's/@db_adapter_mysql_database@/phinx_testing/g' -e 's/@db_adapter_mysql_port@/3306/g' tests/TestConfiguration.php.dist > tests/TestConfiguration.php
    - cat tests/TestConfiguration.php
language: php
php:
  - 5.3
  - 5.4
script: "phpunit --configuration tests/phpunit.xml"
Create a test database on Travis
Create a test database on Travis
