PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Edward Paul  >  Laravel Uptime Monitor  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Uptime Monitor
Monitor servers to verify if they are responding
Author: By
Last change:
Date: 1 year ago
Size: 1,065 bytes
 

Contents

Class file image Download
language: php

php:
    - 7.1
    - 7.2
    - 7.3

env:
    global:
        - COVERAGE=no
    matrix:
        - LARAVEL=5.5.*
        - LARAVEL=5.6.*
        - LARAVEL=5.7.*
        - LARAVEL=5.8.*

matrix:
    include:
        - php: 7.1
          env: LARAVEL=5.5.* COVERAGE=yes
        - php: 7.1
          env: LARAVEL=5.6.* COVERAGE=yes
        - php: 7.1
          env: LARAVEL=5.7.* COVERAGE=yes
        - php: 7.1
          env: LARAVEL=5.8.* COVERAGE=yes
        - php: 7.2
          env: LARAVEL=6.8.* COVERAGE=yes
        - php: 7.2
          env: LARAVEL=7.0.* COVERAGE=yes
    fast_finish: true

before_install:
    - travis_retry composer self-update

before_script:
    - composer require "laravel/framework=${LARAVEL}" --dev --prefer-dist --no-interaction --no-suggest

script:
    - if [[ $COVERAGE = 'yes' ]]; then vendor/bin/phpunit --coverage-clover=coverage.xml; fi
    - if [[ $COVERAGE = 'no' ]]; then vendor/bin/phpunit; fi

before_install:
    - pip install --user codecov

after_success:
    - if [[ $COVERAGE = 'yes' ]]; then codecov; fi
For more information send a message to info at phpclasses dot org.