Skip to content

Commit

Permalink
Merge pull request #16 from MikeyMJCO/master
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise authored Jun 1, 2020
2 parents c2daa49 + 915e060 commit 5d69d4d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
22 changes: 16 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
include:
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: nightly
install:
- pear install package.xml
script: pear run-tests tests/
3 changes: 2 additions & 1 deletion tests/composite.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function printIdents($children) {
}

function testPriority($composite, $priority) {
$name = Log::priorityToString($priority);
$log = new Log;
$name = $log->priorityToString($priority);
$success = $composite->log($name, $priority);
echo "$name : " . (($success) ? 'GOOD' : 'BAD') . "\n";
}
Expand Down

0 comments on commit 5d69d4d

Please sign in to comment.