xref: /plugin/structsection/.travis.yml (revision 9132a859d916cf71b9a0535ab315a5a6dfd88369)
1# Config file for travis-ci.org
2
3language: php
4php:
5  - "7.0"
6  - "5.6"
7  - "5.5"
8  - "5.4"
9  - "5.3"
10env:
11  - DOKUWIKI=master
12  - DOKUWIKI=stable
13before_install: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh
14install:
15  - if [[ $TRAVIS_PHP_VERSION > '7.1' || $TRAVIS_PHP_VERSION = nightly ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi
16  - if [[ $TRAVIS_PHP_VERSION > '7.1' || $TRAVIS_PHP_VERSION = nightly ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi
17  - sh travis.sh
18script: cd _test && phpunit --stderr --group plugin_structsection
19