File tree Expand file tree Collapse file tree 6 files changed +22
-31
lines changed
Expand file tree Collapse file tree 6 files changed +22
-31
lines changed Original file line number Diff line number Diff line change 11build /
2+ vendor /
Original file line number Diff line number Diff line change 11language : php
2-
3- php :
4- - 5.3
5- - 5.4
6- - 5.5
7- - 5.6
8- - 7.0
9- - hhvm
2+ dist : trusty
103
114matrix :
12- fast_finish : true
135 include :
6+ - php : 5.3
7+ dist : precise
8+ - php : 5.4
149 - php : 5.5
1510 env : COVERAGE=true
11+ - php : 5.6
12+ - php : 7.0
13+ - php : 7.1
14+ - php : 7.2
15+ - php : hhvm
1616
1717install :
1818 - composer install
1919
2020before_script :
21- - vendor/bin/http_test_server > /dev/null 2>&1 &
2221 - if [[ "$COVERAGE" = true ]]; then PHPUNIT_FLAGS="--coverage-clover build/coverage.xml"; else PHPUNIT_FLAGS=""; fi
2322
2423script :
25- - phpunit $PHPUNIT_FLAGS
24+ - vendor/bin/ phpunit $PHPUNIT_FLAGS
2625
2726after_success :
2827 - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
Original file line number Diff line number Diff line change 1010namespace ML \IRI \Test ;
1111
1212use ML \IRI \IRI ;
13+ use PHPUnit \Framework \TestCase ;
1314
1415/**
1516 * The IRI test suite.
1617 *
1718 * @author Markus Lanthaler <[email protected] > 1819 */
19- class IriTest extends \PHPUnit_Framework_TestCase
20+ class IriTest extends TestCase
2021{
2122 /**
2223 * Test parsing
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 "php" : " >=5.3.0" ,
1818 "lib-pcre" : " >=4.0"
1919 },
20+ "require-dev" : {
21+ "phpunit/phpunit" : " 4.8.*"
22+ },
2023 "autoload" : {
21- "psr-0" : { "ML\\ IRI" : " " }
24+ "psr-4" : {
25+ "ML\\ IRI\\ " : " " ,
26+ "ML\\ IRI\\ Test\\ " : " Test/"
27+ }
2228 },
2329 "target-dir" : " ML/IRI"
2430}
Original file line number Diff line number Diff line change 77 convertWarningsToExceptions =" true"
88 processIsolation =" false"
99 stopOnFailure =" false"
10- strict =" true"
11- bootstrap =" ./Test/bootstrap.php" >
10+ bootstrap =" vendor/autoload.php" >
1211
1312 <testsuites >
1413 <testsuite name =" IRI Test Suite" >
1817
1918 <filter >
2019 <whitelist processUncoveredFilesFromWhitelist =" true" >
21- <directory >./</directory >
22- <exclude >
23- <directory >./Test</directory >
24- </exclude >
20+ <file >IRI.php</file >
2521 </whitelist >
2622 </filter >
2723
You can’t perform that action at this time.
0 commit comments