juizmill/BoletoZendFramework

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

matrix:
  fast_finish: true

php:
  - 7.1

before_script:
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install

addons:
  code_climate:
    repo_token: $CODECLIMATE_REPO_TOKEN

script:
  - vendor/bin/phpcs --standard=PSR2 src
  - vendor/bin/phpcs --standard=PSR2 config
  - vendor/bin/phpcs --standard=PSR2 test
  - vendor/bin/phpmd config,src,test text cleancode,codesize,controversial,design,naming,unusedcode
  - vendor/bin/phpunit test -v -c test/phpunit.xml
  - vendor/bin/phpunit test -v -c test/phpunit.xml --coverage-clover=$TRAVIS_BUILD_DIR/build/logs/clover.xml

after_success:
  - vendor/bin/test-reporter