summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/wrap/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/plugins/wrap/.travis.yml')
-rw-r--r--platform/www/lib/plugins/wrap/.travis.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/wrap/.travis.yml b/platform/www/lib/plugins/wrap/.travis.yml
new file mode 100644
index 0000000..a73697f
--- /dev/null
+++ b/platform/www/lib/plugins/wrap/.travis.yml
@@ -0,0 +1,18 @@
+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" != "old-stable" ]; then phpunit --stderr --group plugin_wrap; fi
+ - if [ "$DOKUWIKI" = "old-stable" ]; then php ../phpunit-5.7.phar --stderr --group plugin_wrap; fi