PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Jakub Dubec  >  PHP GPX Library  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP GPX Library
Parser and generator of GPS Exchange files
Author: By
Last change: Start to configure travis
Date: 9 months ago
Size: 690 bytes
 

Contents

Class file image Download
language: php

php:
    - 7.0
    - 7.1
    - 7.2
    - nightly

env:
    global:
        - CHECK_PHP_SYNTAX="no"

matrix:
    include:
        php: 7.2
        env: CHECK_PHP_SYNTAX="yes"

before_install:
    - phpenv config-rm xdebug.ini || echo "xdebug not available"

install:
    - if [[ "$CHECK_PHP_SYNTAX" == "yes" ]]; then composer require --dev --no-update friendsofphp/php-cs-fixer; fi;
    - composer update --prefer-dist --no-interaction --no-suggest --no-progress --ansi

script:
    - if [[ "$CHECK_PHP_SYNTAX" == "no" ]]; then ./vendor/bin/phpunit; fi;
    - if [[ "$CHECK_PHP_SYNTAX" == "yes" ]]; then ./vendor/bin/php-cs-fixer fix --dry-run --diff --no-interaction -v; fi;