language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
- npm install -g grunt-cli
- npm install grunt-contrib-qunit
- npm install grunt

script:
- vendor/bin/phpunit -c lib/php/phpunit.xml.dist
- npm test
