sudo: false
language: php
php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0

env:
  - VUFIND_HOME=$PWD VUFIND_LOCAL_DIR=$PWD/local

before_script:
  - phpenv config-rm xdebug.ini
  - phpenv rehash
  - composer install
  - npm install -g eslint@"<3.0.0"

script:
  - vendor/bin/phing phpunitfast phpcs-console php-cs-fixer-dryrun eslint