language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
allow_failures:
  - php: nightly
  - php: hhvm
fast_finish: true

before_script:
  - if [[ $TRAVIS_PHP_VERSION = '5.5' ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install

script:
  - phpunit -v $PHPUNIT_FLAGS

after_script:
  - php vendor/bin/coveralls -v

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - hhvm
  - nightly
allow_failures:
  - php: nightly
  - php: hhvm
fast_finish: true

before_script:
  - if [[ $TRAVIS_PHP_VERSION = '5.5' ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install

script:
  - phpunit -v $PHPUNIT_FLAGS

after_script:
  - php vendor/bin/coveralls -v

Add HHVM & PHP7 builds (failable)
Add HHVM & PHP7 builds (failable)
