File: .travis.yml

Recommend this page to a friend!
  Classes of Johnny Mast  >  Redbox PHP Track Website Visitors  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Redbox PHP Track Website Visitors
Track the arrival of users visiting a Web site
Author: By
Last change: Release tag v1.0
Date: 2 months ago
Size: 592 bytes
 

Contents

Class file image Download
language: php
sudo: false
dist: trusty

php:
  - 7.3
  - 7.4

env:
  - COMPOSER_OPTS=""
  - COMPOSER_OPTS="--prefer-lowest"

before_script:

  - composer self-update
  - composer update

script:
  - if [ "$TRAVIS_PHP_VERSION" == 7 ]; then vendor/bin/phpunit -d -q=brownfox; fi
  - if [ "$TRAVIS_PHP_VERSION" != 7 ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover -d -q=brownfox; fi

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - if [ "$TRAVIS_PHP_VERSION" != 7 ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

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