Skip to content

Commit 2bdebb6

Browse files
committed
Merge pull request #7 from aztech-dev/master
Add PHPUnit as dev dependency and update build script
2 parents 5e9ebd2 + 6997012 commit 2bdebb6

File tree

4 files changed

+15
-650
lines changed

4 files changed

+15
-650
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/vendor
33
docs/build
44
composer.phar
5+
composer.lock

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ before_script:
66
- curl -s http://getcomposer.org/installer | php
77
- php composer.phar install
88

9+
script:
10+
- vendor/bin/phpunit
11+
912
php:
1013
- 5.3
1114
- 5.4

composer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@
44
"description": "PHP DataURI component",
55
"keywords": ["data-uri", "data", "URI"],
66
"license": "MIT",
7-
"authors": [
8-
{
7+
"authors": [{
8+
"name": "Alchemy",
9+
"email": "info@alchemy.fr",
10+
"homepage": "http://www.alchemy.fr"
11+
}, {
912
"name": "nlegoff",
1013
"email": "legoff.n@gmail.com"
11-
}
12-
],
14+
}],
1315
"require": {
14-
"php" : ">=5.3.2",
15-
"symfony/http-foundation" : "~2.0|~3.0"
16+
"php": ">=5.3.2",
17+
"symfony/http-foundation": "~2.0|~3.0"
1618
},
1719
"require-dev": {
18-
"sami/sami" : "dev-master",
19-
"ext-curl" : "*"
20+
"sami/sami": "dev-master",
21+
"ext-curl": "*",
22+
"phpunit/phpunit": "^4.0|^5.0"
2023
},
2124
"autoload": {
2225
"psr-0": {

0 commit comments

Comments
 (0)