File: .travis.yml

Recommend this page to a friend!
  Classes of FN  >  PHP Base Converter  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Base Converter
Convert number representations between two bases
Author: By
Last change:
Date: 1 year ago
Size: 708 bytes
 

Contents

Class file image Download
language: php

matrix:
  fast_finish: true
  include:
  - php: 7
    env: UNIT_TESTS=yes PHP_LINT=yes
sudo: false

addons:
  apt:
    packages:
    - parallel

cache:
  directories:
  - $HOME/.composer/cache

before_script:
- phpenv config-rm xdebug.ini
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer install

script:
- |
  if [[ "$UNIT_TESTS" == "yes" ]]; then
    echo;
    echo "Running unit tests";
    ./bin/phpunit -c Build/UnitTests.xml
  fi
- |-
  if [[ "$PHP_LINT" == "yes" ]]; then
      echo;
      echo "Running php lint";
      find . -name \*.php -not -path "./vendor/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
  fi

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