PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Temuri Takalandze  >  PHP JSON Object Create  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP JSON Object Create
Fill PHP objects from a JSON string
Author: By
Last change:
Date: 1 year ago
Size: 531 bytes
 

Contents

Class file image Download
language: php

matrix:
  include:
    - php: 7.2
    - php: 7.3
    - php: 7.4
      env: ANALYSIS='true'

before_script:
  - if [[ "$ANALYSIS" == 'true' ]]; then composer require php-coveralls/php-coveralls:^2.2.0 ; fi
  - composer install -n

script:
  - if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit ; fi
  - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi

after_success:
  - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/php-coveralls --coverage_clover=clover.xml -v ; fi
For more information send a message to info at phpclasses dot org.