PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Lars Moelleken  >  Arrayy  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Arrayy
Manipulate arrays using a fluent interface
Author: By
Last change: Merge branch 'master' of https://github.com/voku/Arrayy

* 'master' of https://github.com/voku/Arrayy:
Update README.md
Update README.md
Date: 12 days ago
Size: 1,187 bytes
 

Contents

Class file image Download
language: php

sudo: false

os:
  - linux

env:
  global:
    - PHP_COMPOSER_SETUP=basic

matrix:
  fast_finish: true
  allow_failures:
    - php: nightly
  include:
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.3
      env:
        - PHP_COMPOSER_SETUP=lowest
    - php: nightly

before_script:
  - stty cols 120
  - php --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
  - if [[ $PHP_COMPOSER_SETUP = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
  - if [[ $PHP_COMPOSER_SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
  - composer dump-autoload -o

script:
  - mkdir -p build/logs
  - php vendor/bin/phpunit -c phpunit.xml.dist --debug
  - php vendor/bin/phpstan analyse --level=5 --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)