Skip to content

Commit

Permalink
Merge pull request #227 from robmachado/master
Browse files Browse the repository at this point in the history
[UPD] apenas arquivos relativos a CI
  • Loading branch information
robmachado committed Aug 13, 2019
2 parents 224b6df + 0731695 commit 533603c
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 22 deletions.
26 changes: 12 additions & 14 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,24 @@ tools:
php_sim: true

build:
dependencies:
before:
- "sudo composer self-update"
override:
- "composer install --no-interaction --prefer-dist"
tests:
override:
-
command: './vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'php-clover'
environment:
php:
version: 7.0.8
version: 7.2
mysql: false
postgresql: false
redis: false
elasticsearch: false
rabbitmq: false
mongodb: false
neo4j: false
memcached: false
memcached: false
dependencies:
override:
- 'composer install --no-interaction --prefer-dist'
tests:
override:
-
command: './vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'php-clover'
2 changes: 1 addition & 1 deletion .sensiolabs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ rules:
third_party.use_deprecated_service:
enabled: true
xml.syntax_error:
enabled: true
enabled: true
2 changes: 2 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
preset: psr2

linting: true
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- 7.2

Expand Down
16 changes: 12 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,23 @@
}
],
"require": {
"php" : ">=5.6",
"php" : ">=7.0",
"nfephp-org/sped-common" : "^5.0",
"justinrainbow/json-schema": "^5.2"
"justinrainbow/json-schema": "^5.2",
"ext-zlib": "*",
"ext-dom": "*",
"ext-openssl": "*",
"ext-soap": "*",
"ext-json": "*",
"ext-simplexml": "*",
"ext-libxml": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.8",
"squizlabs/php_codesniffer": "^3.4",
"phpunit/phpunit": "^5.7",
"scrutinizer/ocular": "^1.3",
"phpmd/phpmd": "dev-master"
"sebastian/phpcpd": "^3.0",
"phpstan/phpstan": "^0.9.2"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 2 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<!--<log type="junit" target="build/report.junit.xml"/>-->
<!--<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>-->
<!--<log type="coverage-text" target="build/coverage.txt"/>-->
<!--<log type="coverage-text" target="php://stdout"/>-->
<!--<log type="coverage-clover" target="build/logs/clover.xml"/>-->
</logging>
</phpunit>
</phpunit>

0 comments on commit 533603c

Please sign in to comment.