File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 77 - hhvm
88
99before_script :
10- - composer self-update
11- - composer install --prefer-source --no-interaction --dev
10+ - composer install --prefer-dist --dev
1211
13- script : phpunit
12+ script :
13+ - ./vendor/bin/phpunit
14+ - ./vendor/bin/phpcs --standard=PSR2 --encoding=utf-8 -p src/ tests/
15+
16+ matrix :
17+ allow_failures :
18+ - php : hhvm
19+ fast_finish : true
Original file line number Diff line number Diff line change 1717 },
1818 "require-dev" : {
1919 "phpunit/phpunit" : " 4.5.*" ,
20+ "phpunit/php-code-coverage" : " 2.x" ,
2021 "openlss/lib-array2xml" : " ~0.0.9"
2122 },
2223 "autoload" : {
2526 }
2627 },
2728 "autoload-dev" : {
28- "psr-0 " : {
29- "PE\\ " : " tests"
29+ "psr-4 " : {
30+ "PE\\ " : " tests/PE "
3031 }
3132 }
3233}
Original file line number Diff line number Diff line change 88define ('ROOT_DIR ' , dirname (TESTS_DIR ));
99
1010// Load our autoloader, and add our Test class namespace
11- $ autoloader = require (ROOT_DIR . '/vendor/autoload.php ' );
11+ $ autoloader = require (ROOT_DIR . '/vendor/autoload.php ' );
12+ $ autoloader ->add ('PE ' , __DIR__ );
You can’t perform that action at this time.
0 commit comments