fix missing return
[dokuwiki.git] / .travis.yml
blob374e4935947343c8fa5319b64af72c121c1161d6
1 language: php
2 sudo: false
3 php:
4   - "nightly"
5   - "7.3"
6   - "7.2"
7 env:
8   - DISABLE_FUNCTIONS=
9   - DISABLE_FUNCTIONS="gzopen"
10 matrix:
11   fast_finish: true
12   allow_failures:
13     - php: "nightly"
14 services:
15   - mysql
16   - postgresql
17 notifications:
18   irc:
19     channels:
20         - "chat.freenode.net#dokuwiki"
21     on_success: change
22     on_failure: change
23 install:
24   - php _test/fetchphpunit.php
25 before_script:
26   - test -z "$DISABLE_FUNCTIONS" || echo "disable_functions=$DISABLE_FUNCTIONS" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
27   - cp _test/mysql.conf.php.dist _test/mysql.conf.php
28   - cp _test/pgsql.conf.php.dist _test/pgsql.conf.php
29   - ./_test/phpunit.phar --version
30 script:
31   - cd _test && ./phpunit.phar --verbose --stderr