Skip to content

Commit

Permalink
Adjust .travis.yml to match struct's
Browse files Browse the repository at this point in the history
  • Loading branch information
micgro42 committed Dec 31, 2019
1 parent cfecd3b commit 99cbceb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

language: php
php:
- "nightly"
- "7.3"
- "7.2"
- "7.1"
Expand All @@ -14,8 +15,5 @@ matrix:
allow_failures:
- php: "nightly"
before_install: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh
install:
- 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
- if [[ $TRAVIS_PHP_VERSION > '7.1' || $TRAVIS_PHP_VERSION = nightly ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi
- sh travis.sh
script: cd _test && phpunit --stderr --group plugin_structsection
install: sh travis.sh
script: cd _test && ./phpunit.phar --stderr --group plugin_structsection

0 comments on commit 99cbceb

Please sign in to comment.