language: php
php:
  - "5.5"
  - "5.4"
  - "5.3"

before_script:
  - pear config-set auto_discover 1
  - pear install --force --alldeps phpunit/PHPUnit-3.4.15
  - cp application/configs/application.travis.ini application/configs/application.ini
  - mysql -e 'create database mqueue_travis;'
  - php scripts/update_database.php

script: cd tests/ && phpunit


language: php
php:
  - "5.5"
  - "5.4"
  - "5.3"

before_script:
  - pear config-set auto_discover 1
  - pear channel-discover pear.phpunit.de
  - pear install --force --alldeps phpunit/PHPUnit-3.4.15
  - cp application/configs/application.travis.ini application/configs/application.ini
  - mysql -e 'create database mqueue_travis;'
  - php scripts/update_database.php

script: cd tests/ && phpunit


Add PHPunit PEAR channel for Travis
Add PHPunit PEAR channel for Travis
