Yaffs site version 1.1
[yaffs-website] / vendor / ezyang / htmlpurifier / test-settings.travis.php
1 <?php
2
3 // This file is the configuration for Travis testing.
4
5 // Note: The only external library you *need* is SimpleTest; everything else
6 //       is optional.
7
8 // We've got a lot of tests, so we recommend turning the limit off.
9 set_time_limit(0);
10
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;
16 }
17
18 // -----------------------------------------------------------------------------
19 // REQUIRED SETTINGS
20
21 // Note on running SimpleTest:
22 //      You want the Git copy of SimpleTest, found here:
23 //          https://github.com/simpletest/simpletest/
24 //
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!
28
29 // Where is SimpleTest located? Remember to include a trailing slash!
30 $simpletest_location = dirname(__FILE__) . '/simpletest/';
31
32 // -----------------------------------------------------------------------------
33 // OPTIONAL SETTINGS
34
35 // Note on running PHPT:
36 //      Vanilla PHPT from https://github.com/tswicegood/PHPT_Core should
37 //      work fine on Linux w/o multitest.
38 //
39 //      To do multitest or Windows testing, you'll need some more
40 //      patches at https://github.com/ezyang/PHPT_Core
41 //
42 //      I haven't tested the Windows setup in a while so I don't know if
43 //      it still works.
44
45 // Should PHPT tests be enabled?
46 $GLOBALS['HTMLPurifierTest']['PHPT'] = false;
47
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());
50
51 // Where is CSSTidy located? (Include trailing slash. Leave false to disable.)
52 $csstidy_location    = false;
53
54 // For tests/multitest.php, which versions to test?
55 $versions_to_test    = array();
56
57 // Stable PHP binary to use when invoking maintenance scripts.
58 $php = 'php';
59
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;
63
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;
67
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;
71
72 // vim: et sw=4 sts=4