Skip to content

Commit

Permalink
Merge e855b1b into b4b3441
Browse files Browse the repository at this point in the history
  • Loading branch information
albertborsos committed Jun 21, 2019
2 parents b4b3441 + e855b1b commit 067e74b
Show file tree
Hide file tree
Showing 51 changed files with 2,117 additions and 3,917 deletions.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
service_name: travis-ci

coverage_clover: tests/_output/coverage.xml
json_path: tests/_output/unit.json
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
Expand Down Expand Up @@ -28,7 +32,7 @@ install:

script:
- sh ./phpcs.sh
#- php ./vendor/bin/codecept run unit -d $PHPUNIT_FLAGS
- php ./vendor/bin/codecept run unit -d --coverage --coverage-xml

#after_success:
#- php ./vendor/bin/coveralls -v --exclude-no-stmt -c .coveralls.yml
after_success:
- php ./vendor/bin/php-coveralls -v --exclude-no-stmt -c .coveralls.yml
6 changes: 6 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ paths:
support: tests/_support
envs: tests/_envs
actor_suffix: Tester
settings:
bootstrap: _bootstrap.php
extensions:
enabled:
- Codeception\Extension\RunFailed
coverage:
enabled: true
include:
- src/*
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
],
"require": {
"php": ">=7.0.0",
"yiisoft/yii2": "~2.0.0"
"yiisoft/yii2": "~2.0.0",
"satooshi/php-coveralls": "^2.1"
},
"require-dev": {
"codeception/codeception": "~2.5",
"codeception/base": "~3.0",
"codeception/verify": "~1.0",
"codeception/specify": "~1.0",
"codeception/mockery-module": "^0.2.2",
"codeception/mockery-module": "^0.3.0",
"mito/yii2-coding-standards": "~2.0.0@beta"
},
"suggest": {
Expand Down

0 comments on commit 067e74b

Please sign in to comment.