1language: php
2
3sudo: false
4
5cache:
6    directories:
7        - vendor
8        - $HOME/.composer/cache/files
9
10env:
11    - DEPS=no
12
13before_install:
14    - phpenv config-rm xdebug.ini
15
16before_script:
17    - if [ "$DEPS" == "low" ]; then composer --prefer-lowest --prefer-stable update; fi;
18    - if [ "$DEPS" == "no" ]; then composer install; fi;
19
20script: |
21    ./vendor/bin/simple-phpunit
22
23matrix:
24    include:
25        - php: 5.3
26          dist: precise
27        - php: 5.4
28        - php: 5.5
29        - php: 5.6
30          env: DEPS=low
31        - php: 7.0
32        - php: 7.1
33        - php: 7.2
34    fast_finish: true
35