.travis.yml
# Config file for travis-ci.org
language: php
php:
- "7.2"
- "7.1"
- "7.0"
- "5.6"
env:
- DOKUWIKI=master
- DOKUWIKI=stable
before_install:
- wget https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
- php phpcs.phar
- wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh
install: sh travis.sh
script:
- cd _test
- phpunit --configuration=../lib/plugins/issuelinks/phpunit.xml --group plugin_issuelinks --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover --repository=g/$TRAVIS_REPO_SLUG --revision=$TRAVIS_COMMIT