Skip to content

Commit e0941bf

Browse files
committed
fix travis and composer.json
1 parent bd1f3c4 commit e0941bf

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_script:
1212
- curl -s http://getcomposer.org/installer | php
1313
- php composer.phar --dev install
1414

15-
script: phpunit --configuration tests/phpunit.xml
15+
script: vendor/bin/phpunit --configuration tests/phpunit.xml
1616

1717
matrix:
1818
allow_failures:

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"require-dev": {
2020
"zendframework/zend-barcode": ">=2.0.0,<2.4",
2121
"zendframework/zend-validator": ">=2.0.0,<2.4",
22-
"imagine/Imagine": ">=0.2.0,<0.6.0"
22+
"imagine/Imagine": ">=0.2.0,<0.6.0",
23+
"phpunit/phpunit": ">=4,<6.0.0"
2324
},
2425
"suggest": {
2526
"zendframework/zend-barcode": "If you want to use barcodes",

tests/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
error_reporting(E_ALL);
66
ini_set('display_errors', 1);
77

8-
$loader = require_once __DIR__.'/../vendor/autoload.php';
8+
$loader = require __DIR__.'/../vendor/autoload.php';
99

1010
$loader->addPsr4('PHPPdf\\', __DIR__.'/PHPPdf');

0 commit comments

Comments
 (0)