Fix spelling
[htmlpurifier/darkodev.git] / test-settings.travis.php
blobb1edce4aa45bdf0ae741beee99d7bfe12ed952ed
1 <?php
3 // This file is the configuration for Travis testing.
5 // Note: The only external library you *need* is SimpleTest; everything else
6 // is optional.
8 // We've got a lot of tests, so we recommend turning the limit off.
9 set_time_limit(0);
11 // Turning off output buffering will prevent mysterious errors from core dumps.
12 $data = @ob_get_clean();
13 if ($data !== false && $data !== '') {
14 echo "Output buffer contains data [".urlencode($data)."]\n";
15 exit;
18 // -----------------------------------------------------------------------------
19 // REQUIRED SETTINGS
21 // Note on running SimpleTest:
22 // You want the Git copy of SimpleTest, found here:
23 // https://github.com/simpletest/simpletest/
25 // If SimpleTest is borked with HTML Purifier, please contact me or
26 // the SimpleTest devs; I am a developer for SimpleTest so I should be
27 // able to quickly assess a fix. SimpleTest's problem is my problem!
29 // Where is SimpleTest located? Remember to include a trailing slash!
30 $simpletest_location = dirname(__FILE__) . '/simpletest/';
32 // -----------------------------------------------------------------------------
33 // OPTIONAL SETTINGS
35 // Note on running PHPT:
36 // Vanilla PHPT from https://github.com/tswicegood/PHPT_Core should
37 // work fine on Linux w/o multitest.
39 // To do multitest or Windows testing, you'll need some more
40 // patches at https://github.com/ezyang/PHPT_Core
42 // I haven't tested the Windows setup in a while so I don't know if
43 // it still works.
45 // Should PHPT tests be enabled?
46 $GLOBALS['HTMLPurifierTest']['PHPT'] = false;
48 // If PHPT isn't in your Path via PEAR, set that here:
49 // set_include_path('/path/to/phpt/Core/src' . PATH_SEPARATOR . get_include_path());
51 // Where is CSSTidy located? (Include trailing slash. Leave false to disable.)
52 $csstidy_location = false;
54 // For tests/multitest.php, which versions to test?
55 $versions_to_test = array();
57 // Stable PHP binary to use when invoking maintenance scripts.
58 $php = 'php';
60 // For tests/multitest.php, what is the multi-version executable? It must
61 // accept an extra parameter (version number) before all other arguments
62 $phpv = false;
64 // Should PEAR tests be run? If you've got a valid PEAR installation, set this
65 // to true (or, if it's not in the include path, to its install directory).
66 $GLOBALS['HTMLPurifierTest']['PEAR'] = false;
68 // If PEAR is enabled, what PEAR tests should be run? (Note: you will
69 // need to ensure these libraries are installed)
70 $GLOBALS['HTMLPurifierTest']['Net_IDNA2'] = true;
72 // vim: et sw=4 sts=4