Skip to content

Commit 1eb8763

Browse files
author
Tom Van Herreweghe
committed
Added coveralls to travis config
1 parent 43167e4 commit 1eb8763

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,23 @@ language: php
33
php:
44
- 5.3
55
- 5.4
6+
- 5.5
67

7-
script: phpunit
8+
matrix:
9+
allow_failures:
10+
- php: 5.5
11+
12+
script:
13+
- mkdir -p build/logs
14+
- php vendor/bin/phpunit -c phpunit.xml.dist
15+
- ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
816

917
before_script:
1018
- composer install --dev --prefer-source
1119

20+
after_script:
21+
- php vendor/bin/coveralls -v
22+
1223
before_install:
1324
- composer self-update
1425
- wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-9.32.tar.gz

composer.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "miljar/php-exif",
33
"description": "Object-Oriented EXIF parsing",
4+
"type": "library",
45
"license": "MIT",
56
"authors": [
67
{
@@ -9,17 +10,17 @@
910
"role": "Developer"
1011
}
1112
],
12-
"keywords": ["EXIF", "IPTC", "jpeg", "tiff"],
13+
"keywords": ["EXIF", "IPTC", "jpeg", "tiff", "exiftool"],
1314
"require": {
1415
"php": ">=5.3.0"
1516
},
16-
"require-dev": {
17-
"phpunit/phpunit": "3.7.*"
18-
},
19-
"autoload": {
20-
"psr-0":
21-
{
22-
"PHPExif": "lib/"
23-
}
24-
}
17+
"require-dev": {
18+
"phpunit/phpunit": "3.7.*",
19+
"satooshi/php-coveralls": "~0.6"
20+
},
21+
"autoload": {
22+
"psr-0": {
23+
"PHPExif": "lib/"
24+
}
25+
}
2526
}

0 commit comments

Comments
 (0)