-
-
Save selfthinker/fb7fc750f1f2ad3a92a46abe2dbf6f06 to your computer and use it in GitHub Desktop.
Trying to fix .travis.yml for DokuWiki plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- "7.2" | |
- "7.1" | |
- "7.0" | |
- "5.6" | |
env: | |
- DOKUWIKI=master | |
- DOKUWIKI=stable | |
- DOKUWIKI=old-stable | |
before_install: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh | |
install: sh travis.sh | |
script: cd _test && phpunit --stderr --group plugin_wrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- "7.2" | |
- "7.1" | |
- "7.0" | |
- "5.6" | |
env: | |
- DOKUWIKI=master | |
- DOKUWIKI=stable | |
- DOKUWIKI=old-stable | |
before_install: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh | |
install: sh travis.sh | |
before_script: | |
- wget https://phar.phpunit.de/phpunit-5.7.phar | |
- cd _test | |
script: | |
- if [ "$DOKUWIKI" = "master" ]; then phpunit --stderr --group plugin_wrap; fi | |
- if [ "$DOKUWIKI" != "master" ]; then php ../phpunit-5.7.phar --stderr --group plugin_wrap; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- "7.2" | |
- "7.1" | |
- "7.0" | |
- "5.6" | |
env: | |
- DOKUWIKI=master PHPUNIT_VERSION=phpunit | |
- DOKUWIKI=stable PHPUNIT_VERSION="php ../phpunit-5.7.phar" | |
- DOKUWIKI=old-stable PHPUNIT_VERSION="php ../phpunit-5.7.phar" | |
before_install: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh | |
install: sh travis.sh | |
before_script: | |
- wget https://phar.phpunit.de/phpunit-5.7.phar | |
- cd _test | |
script: $PHPUNIT_VERSION --stderr --group plugin_wrap |
It's fixed now. The wget
of PHPUnit needed to be in before_script
and not before_install
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both new travis files currently fail all non-master DokuWiki branches with
I tried to also change permissions in
before_install
but that didn't work either: