File: .travis.yml

Recommend this page to a friend!
  Classes of Lars Moelleken  >  PHP httpful Request  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP httpful Request
Send and process HTTP requests using handler class
Author: By
Last change:
Date: 1 month ago
Size: 758 bytes
 

Contents

Class file image Download
language: php

sudo: false

php:
  - 7.0
  - 7.1
  - 7.2
  - 7.3

before_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - travis_retry composer self-update
  - travis_retry composer require satooshi/php-coveralls
  - if [ "$(phpenv version-name)" == 7.3 ]; then travis_retry composer require phpstan/phpstan; fi
  - travis_retry composer install --no-interaction --prefer-source
  - composer dump-autoload -o

script:
  - mkdir -p build/logs
  - php vendor/bin/phpunit -c phpunit.xml.dist
  - if [ "$(phpenv version-name)" == 7.3 ]; then php vendor/bin/phpstan analyse; fi

after_script:
  - php vendor/bin/coveralls -v
  - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
  - bash <(curl -s https://codecov.io/bash)

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