Skip to content

Commit c9c04e1

Browse files
authored
Only measure code coverage on Unit tests. (#242)
1 parent 130d297 commit c9c04e1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ matrix:
5454
- env: STABILITY="dev"
5555

5656
before_install:
57-
- if [[ $COVERAGE == true ]]; then echo "max_execution_time = 600" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
5857
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
5958
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
6059
- if ! [ -z "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"scripts": {
5050
"test": "vendor/bin/simple-phpunit",
51-
"test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml"
51+
"test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml Tests/Unit"
5252
},
5353
"extra": {
5454
"branch-alias": {

0 commit comments

Comments
 (0)