xref: /plugin/siteexport/.travis.yml (revision 927b8ea5e128105ccf0b9483eef79a8d132a5401)
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 && find . -name \"*.test.html\" -exec phantomjs phantom-qunit.js file://$(pwd)/{} \\;"
20  - "phantomjs phantom-qunit.js file://$(pwd)/_test/phantomjs/plugin_siteexport_javascript_compressed.test.html"
21  - "phantomjs phantom-qunit.js file://$(pwd)/_test/phantomjs/plugin_siteexport_javascript_uncompressed.test.html"
22  - "cd .."
23