language: php
php:
  - 5.5
  - 5.4
  - hhvm
before_script:
  - pear install PHP_CodeSniffer
  - phpenv rehash
  - git clone https://git.wikimedia.org/git/mediawiki/tools/codesniffer.git /home/travis/build/codesniffer
script:
  - phpcs . --standard=/home/travis/build/codesniffer/MediaWiki/ruleset.xml --ignore=home.php
  - phpunit tests

language: php
php:
  - 5.5
  - 5.4
before_script:
  - pear install PHP_CodeSniffer
  - phpenv rehash
  - git clone https://git.wikimedia.org/git/mediawiki/tools/codesniffer.git /home/travis/build/codesniffer
script:
  - phpcs . --standard=/home/travis/build/codesniffer/MediaWiki/ruleset.xml --ignore=home.php
  - phpunit tests

Revert "run tests on HHVM"
Revert "run tests on HHVM"

Since Travis-CI does not support the `pear` command on HHVM yet,
the builds are errored:
https://travis-ci.org/ricordisamoa/dvncmd

This reverts commit 6f1f339b8d551844a67b0883f9ade6f69f618ab1.
