Skip to content

Commit

Permalink
adds version constraint for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
sndsgd committed Jan 9, 2015
1 parent 5d54a98 commit 44b5358
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: php

env:
- COVERALLS_PHP_VERSION="5.5"

php:
- 5.4
- 5.5
Expand All @@ -16,4 +19,4 @@ script:
- phpunit --coverage-clover tests/coverage-clover.xml

after_script:
- vendor/bin/coveralls -v
- bin/aftertest
8 changes: 8 additions & 0 deletions bin/aftertest
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash


if [ "${COVERALLS_PHP_VERSION}" = "$(phpenv version-name)" ]; then
composer require satooshi/php-coveralls:dev-master
vendor/bin/coveralls -v
fi

0 comments on commit 44b5358

Please sign in to comment.