1language: php
2php:
3  - "7.2"
4
5env:
6  - DOKUWIKI=stable
7
8before_install:
9  - wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh
10
11install:
12  - if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi
13  - if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi
14  - sh travis.sh
15
16script:
17  - cd _test && phpunit --stderr --group plugin_webcomponent --verbose --debug
18
19notifications:
20  email:
21    - gerardnico@gmail.com
22