Skip to content

Commit 4df5de3

Browse files
authored
Merge pull request #50 from peter279k/master
improve unit testing and add some features
2 parents be0120c + d06d194 commit 4df5de3

14 files changed

+5364
-220
lines changed

.styleci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
preset: psr2

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
language: php
22

33
php:
4+
- 5.3
45
- 5.4
56
- 5.5
67
- 5.6
78
- 7.0
89
- 7.1
910
- hhvm
11+
- nightly
12+
13+
matrix:
14+
fast_finish: true
15+
allow_failures:
16+
- php: nightly
1017

1118
before_script:
12-
- composer dumpautoload
19+
- composer update --prefer-dist
1320

1421
script:
15-
- phpunit
22+
- vendor/bin/phpunit --coverage-clover=coverage.xml
1623

24+
after_success:
25+
- bash <(curl -s https://codecov.io/bash)

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
"issues":"https://github.com/madcoda/php-youtube-api/issues"
1616
},
1717
"require": {
18-
"php" : ">5.3"
18+
"php" : ">=5.3",
19+
"ext-curl": "*"
1920
},
2021
"require-dev":{
21-
"phpunit/phpunit": "3.7.*@stable"
22+
"phpunit/phpunit": "^4.5 || ^5.0.5"
2223
},
2324
"autoload": {
2425
"psr-4": {

0 commit comments

Comments
 (0)