Skip to content

Commit

Permalink
Merge pull request #50 from peter279k/master
Browse files Browse the repository at this point in the history
improve unit testing and add some features
  • Loading branch information
madcoda authored Jan 6, 2017
2 parents be0120c + d06d194 commit 4df5de3
Show file tree
Hide file tree
Showing 14 changed files with 5,364 additions and 220 deletions.
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preset: psr2
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- nightly

matrix:
fast_finish: true
allow_failures:
- php: nightly

before_script:
- composer dumpautoload
- composer update --prefer-dist

script:
- phpunit
- vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash)
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"issues":"https://github.com/madcoda/php-youtube-api/issues"
},
"require": {
"php" : ">5.3"
"php" : ">=5.3",
"ext-curl": "*"
},
"require-dev":{
"phpunit/phpunit": "3.7.*@stable"
"phpunit/phpunit": "^4.5 || ^5.0.5"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 4df5de3

Please sign in to comment.