language: php

php:
  - 5.5.9
  - 5.5
  - 5.6

# Pending coduo/php-humanizer being 7.0 ready
#  - 7.0
#  - hhvm

install:
  - composer install --no-interaction --prefer-source
  - composer create-project wp-coding-standards/wpcs:dev-master --no-dev -n standards/wpcs
  - ./vendor/bin/phpcs -vvv -w --config-set installed_paths '../../../standards/gios/,../../../standards/wpcs/'

before_script:
  - mkdir coverage

script:
  - vendor/bin/phpcs -n --standard=GIOS ./src
  - vendor/bin/phpunit --coverage-clover coverage/clover.xml

after_script:
  - php vendor/bin/coveralls -v
language: php

php:
  - 5.5.9
  - 5.5
  - 5.6
  - 7.0
#  - hhvm

# Pending coduo/php-humanizer being 7.0 ready
matrix:
  allow_failures:
  - php: 7.0

install:
  - composer install --no-interaction --prefer-source
  - composer create-project wp-coding-standards/wpcs:dev-master --no-dev -n standards/wpcs
  - ./vendor/bin/phpcs -vvv -w --config-set installed_paths '../../../standards/gios/,../../../standards/wpcs/'

before_script:
  - mkdir coverage

script:
  - vendor/bin/phpcs -n --standard=GIOS ./src
  - vendor/bin/phpunit --coverage-clover coverage/clover.xml

after_script:
  - php vendor/bin/coveralls -v

Allow failures for php 7
Allow failures for php 7

and continue to have php 7 in the build matrix