File: .travis.yml

Recommend this page to a friend!
  Classes of Maik Greubel  >  PHP Generics  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Travis Ci configuration
Class: PHP Generics
Framework for accessing streams, sockets and logs
Author: By
Last change: Test enhancement
Date: 1 year ago
Size: 468 bytes
 

Contents

Class file image Download
language: php

php:
  - 7.0
  - 7.1
  - 7.2

sudo: false

matrix:
  fast_finish: true

before_script:
  - composer install --no-interaction
  - ./vendor/bin/phpcs -n --standard=PSR2 src/ tests/ --ignore=ExceptionErrorHandlerTest

script:
  - mkdir -p build/logs
  - php vendor/phpunit/phpunit/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
  - php vendor/scrutinizer/ocular/bin/ocular code-coverage:upload --format=php-clover coverage.clover

For more information send a message to info at phpclasses dot org.