PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Johnny Mast  >  Redbox DNS  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Redbox DNS
Resolve domains and get other DNS records
Author: By
Last change: Switched the testing OS from Ubuntu Precise to Ubuntu Trusty.
Trying tests on php 7.2
Date: 1 year ago
Size: 632 bytes
 

Contents

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

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

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