Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHPUnit as a dev dependency for running the tests. #2

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,3 +1,4 @@
composer.lock
phpunit.xml
vendor
/vendor/
/bin/
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -6,3 +6,5 @@ php:
- 5.5

before_script: composer install --dev

script: $(pwd)/bin/phpunit
6 changes: 6 additions & 0 deletions composer.json
Expand Up @@ -11,10 +11,16 @@
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "~3.7"
},
"autoload": {
"psr-0": { "GeoJson\\": "src/" },
"classmap": [ "stubs/" ]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
Expand Down