xref: /plugin/siteexport/.travis.yml (revision 97a0609d01d635550004e7e8e0cac4aa4766172a)
1language: php
2php:
3  - "5.5"
4  - "5.4"
5  - "5.3"
6env:
7  - DOKUWIKI=master
8  - DOKUWIKI=stable
9  - DOKUWIKI=old-stable
10before_install:
11  - "wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh"
12  - "wget https://raw.github.com/mark-rushakoff/OpenPhantomScripts/master/phantom-qunit.js"
13  - "wget http://code.jquery.com/qunit/qunit-1.14.0.css"
14  - "wget http://code.jquery.com/qunit/qunit-1.14.0.js"
15install:
16  - "sh travis.sh"
17script:
18  - "cd _test && phpunit --stderr --group plugin_siteexport"
19  - "cd ../lib/plugins/siteexport && RET=0 && for FILE in $(find . -name \"*.test.html\"); do phantomjs phantom-qunit.js file://$(pwd)/$FILE && RET=$(($RET + $?)); done; echo $RET"
20