ptejada/darkroom

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php
php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2

before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
  - wget https://scrutinizer-ci.com/ocular.phar

install:
  - composer install

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover clover.xml