File: .travis.yml

Recommend this page to a friend!
  Classes of Yousaf Syed  >  PHP Array Sort and Search Algorithms  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Array Sort and Search Algorithms
Search and sort arrays using common algorithms
Author: By
Last change:
Date: 4 years ago
Size: 1,202 bytes
 

Contents

Class file image Download
language: php
php:
  - 5.4
  - 5.5

before_script:
  ## PHP_CodeSniffer
  - pear install pear/PHP_CodeSniffer
  - phpenv rehash
  ## PHP Copy/Paste Detector
  - curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
  ## PHP Mess Detector
  - pear config-set preferred_state beta
  - printf "\n" | pecl install imagick
  - pear channel-discover pear.phpmd.org
  - pear channel-discover pear.pdepend.org
  - pear install --alldeps phpmd/PHP_PMD
  - phpenv rehash
  ## PHPLOC
  - curl -o phploc.phar https://phar.phpunit.de/phploc.phar

script:
  ## PHP_CodeSniffer
  ## - phpcs --report=emacs --standard=PSR2 . --ignore=vendor/*
  ## PHP Copy/Paste Detector
  - php phpcpd.phar --verbose .
  ## PHP Mess Detector
  ## - phpmd . text cleancode --exclude vendor
  ## - phpmd . text codesize --exclude vendor
  ## - phpmd . text controversial --exclude vendor
  ## - phpmd . text design --exclude vendor
  ## - phpmd . text naming --exclude vendor
  ## - phpmd . text unusedcode --exclude vendor
  ## PHPLOC
  - php phploc.phar . --exclude vendor
  ## PHPUNIT
  - composer install
  - phpunit .
  ## LINT
  - find ./ -type f -name \*.php -exec php -l {} \;


notifications:
  email:
    mmesunny@gmail.com

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