language: php

sudo: false

php:
  - 5.3
  - 5.5

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:
  - if [[ $TRAVIS_PHP_VERSION = '5.5' ]]; then php vendor/bin/coveralls -v; fi

language: php

sudo: false

php:
  - 5.3
  - 5.5
  - 5.6
  - 7.0
  - 7.1

before_script:
  - if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; 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:
  - if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then php vendor/bin/coveralls -v; fi

Add later PHP versions to Travis CI build
Add later PHP versions to Travis CI build
