Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/coveralls'
Browse files Browse the repository at this point in the history
Close #1
  • Loading branch information
weierophinney committed Dec 2, 2015
2 parents 8d94712 + d0593e3 commit deedad4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ install:
- composer info -i

script:
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer coverage ; fi
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer test-coverage ; fi
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then composer test ; fi
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then composer cs ; fi

after_script:
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer coveralls ; fi

notifications:
email: true
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- Nothing.
- [#1](https://github.com/zendframework/zend-expressive-router/pull/1) fixes the
coveralls support to trigger after scripts, so the status of the check does
not make the tests fail. Additionally, ensured that coveralls can receive
the coverage report!

## 1.0.0 - 2015-12-02

Expand Down
8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@
"@cs",
"@test"
],
"coverage": [
"phpunit --coverage-clover clover.xml",
"coveralls"
],
"coveralls": "coveralls",
"cs": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit"
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover clover.xml"
}
}

0 comments on commit deedad4

Please sign in to comment.