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