-
-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
I'm having trouble getting the build or phpunit to work.
Here are my steps:
git clone https://github.com/php-tmdb/api
cd api
composer install -n
vendor/bin/phpunit
The above fails with this error.
PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /api/test/Tmdb/Tests/TestCase.php on line 25
Also, it looks like there is a Phing build script, but Phing is not a dependency. So I tried this
git clone https://github.com/php-tmdb/api
cd api
composer require phing/phing --dev
vendor/bin/phing
Which gives this error.
Buildfile: /api/build.xml
php-tmdb-api > clean:
[delete] Directory /api/${basedir}/build/api does not exist or is not a directory.
[delete] Directory /api/${basedir}/build/coverage does not exist or is not a directory.
[delete] Directory /api/${basedir}/build/logs does not exist or is not a directory.
[delete] Directory /api/${basedir}/build/pdepend does not exist or is not a directory.
php-tmdb-api > prepare:
[mkdir] Created dir: /api/${basedir}/build/api
[mkdir] Created dir: /api/${basedir}/build/coverage
[mkdir] Created dir: /api/${basedir}/build/logs
[mkdir] Created dir: /api/${basedir}/build/pdepend
[mkdir] Created dir: /api/${basedir}/build/phpdox
php-tmdb-api > lint:
BUILD FAILED
/api/build.xml:38:38: phing.types.FileSet doesn't support the 'modified' creator/adder.
Total time: 0.8931 seconds
I can't figure out why Travis can run the tests and I can't.
Metadata
Metadata
Assignees
Labels
No labels