PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Lars Moelleken  >  Simple HTML DOM  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple HTML DOM
Manipulate HTML elements using DOMDocument
Author: By
Last change: [*]: run tests also via PHP 7.4snapshot
Date: 1 month ago
Size: 1,011 bytes
 

 

Contents

Class file image Download
language: php

sudo: false

git:
  depth: 2

cache:
  directories:
    - $HOME/.composer/cache

matrix:
  fast_finish: true
  allow_failures:
    - php: nightly
  include:
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.4snapshot
    - php: nightly

before_script:
  - php --version
  - echo "LIBXML_DOTTED_VERSION:"
  - php -r "var_dump(LIBXML_DOTTED_VERSION);"
  - wget https://scrutinizer-ci.com/ocular.phar
  - travis_retry composer self-update
  - travis_retry composer require satooshi/php-coveralls
  - travis_retry composer require phpstan/phpstan-shim
  - travis_retry composer install --no-interaction --prefer-source
  - composer dump-autoload -o

script:
  - mkdir -p build/logs
  - php vendor/bin/phpunit -c phpunit.xml
  - php vendor/bin/phpstan analyse --level=7 --configuration=phpstan.neon src

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)