File tree Expand file tree Collapse file tree 5 files changed +65
-0
lines changed Expand file tree Collapse file tree 5 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ language : php
2+ php :
3+ - 5.3.3
4+ - 5.4
5+ - 5.5
6+ - 5.6
7+ - hhvm
8+
9+ matrix :
10+ allow_failures :
11+ - php : hhvm
12+
13+ script : vendor/bin/tester tests -s -c tests/php-unix.ini
14+
15+ after_failure :
16+ # Print *.actual content
17+ - for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
18+
19+ before_script :
20+ # Install Nette Tester
21+ - composer install --no-interaction --dev --prefer-source
Original file line number Diff line number Diff line change 1+ /* /output
2+ /test.log
3+ /tmp
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ // The Nette Tester command-line runner can be
4+ // invoked through the command: ../vendor/bin/tester .
5+
6+ if (@!include __DIR__ . '/../vendor/autoload.php ' ) {
7+ echo 'Install Nette Tester using `composer update --dev` ' ;
8+ exit (1 );
9+ }
10+
11+
12+ Tester \Environment::setup ();
13+ date_default_timezone_set ('Europe/Prague ' );
14+
15+
16+ function before (\Closure $ function = NULL )
17+ {
18+ static $ val ;
19+ if (!func_num_args ()) {
20+ return ($ val ? $ val () : NULL );
21+ }
22+ $ val = $ function ;
23+ }
24+
25+
26+ function test (\Closure $ function )
27+ {
28+ before ();
29+ $ function ();
30+ }
Original file line number Diff line number Diff line change 1+ [PHP]
2+ ; extension_dir = "./ext"
3+ extension =json.so
4+
5+ [Zend]
6+ ; zend_extension="./ext/zend_extension"
Original file line number Diff line number Diff line change 1+ [PHP]
2+ extension_dir = " ./ext"
3+
4+ [Zend]
5+ ; zend_extension="./ext/php_xdebug-2.0.5-5.3-vc6.dll"
You can’t perform that action at this time.
0 commit comments