Skip to content

Commit

Permalink
added phpunit to composer
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswallsmith committed Feb 18, 2013
1 parent 790ff91 commit b741835
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin
composer.lock
composer.phar
phpunit.xml
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ before_install:
before_script:
- php-cgi -b 127.0.0.1:9000 &
- nginx -v && sudo nginx -c nginx.conf.dist -p test
- composer self-update
- composer install --dev

script: phpunit --coverage-text
script: ./bin/phpunit --coverage-text
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"suggest": {
"ext-curl": "*"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-0": {
"Buzz": "lib/"
}
}
}
}

0 comments on commit b741835

Please sign in to comment.