PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Johnny Mast  >  Redbox Hydrate  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Redbox Hydrate
Popular object variables from array data
Author: By
Last change: Update of .travis.yml
Date: 9 months ago
Size: 703 bytes
 

Contents

Class file image Download
language: php
sudo: false

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - 7.1
  - hhvm

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

before_install:
  - php /home/travis/.phpenv/versions/hhvm/bin/composer self-update

before_script:
  - composer install

script:
  - if [ "$TRAVIS_PHP_VERSION" == 7 ]; then vendor/bin/phpunit; fi
  - if [ "$TRAVIS_PHP_VERSION" != 7 ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; 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

after_success:
    - bash <(curl -s https://codecov.io/bash)
For more information send a message to info at phpclasses dot org.