1language: php
2php:
3  - 5.4
4  - 5.5
5  - 5.6
6  - 7
7  - hhvm
8
9matrix:
10  fast_finish: true
11  allow_failures:
12    - php: 7
13
14env:
15  matrix:
16    - PREFER_LOWEST=""
17    - PREFER_LOWEST="--prefer-lowest"
18
19
20before_script:
21    - composer self-update
22    - composer update --prefer-source $PREFER_LOWEST
23
24script:
25  - ./bin/phpunit --configuration tests/phpunit.xml
26  - ./bin/sabre-cs-fixer fix . --dry-run --diff
27