PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Michael Cummings  >  PHP Event Mediator  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Event Mediator
Emit and listen to events using a mediator object
Author: By
Last change: Trying some new travis-ci script ideas to move coveralls out of composer.json plus add coverage report to scrutinizer report config.
Change .travis.yml to use correct vendor version of PHPSpec.
Updated .travis.yml to reflect move to PHP 7.0 and above.
Date: 5 years ago
Size: 591 bytes
 

Contents

Class file image Download
language: php
before_install:
    - if [[ "$(php --version | grep -cim1 xdebug)" -ge 1 ]]; then phpenv config-rm xdebug.ini; fi
git:
    depth: 5
install:
    - composer install
php:
    - 7.0
    - 7.1
script:
    - mkdir -p build
    - phpdbg -qrr -f vendor/phpspec/phpspec/bin/phpspec --no-interaction --config=phpspec_coverage.yml run
after_success:
    - composer require satooshi/php-coveralls
    - travis_retry php vendor/bin/coveralls -v
after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
For more information send a message to info at phpclasses dot org.