language: php

php:
  - 5.6
  - 7.0

env:
  global:
    - WP_VERSION=master
    - WP_VERSION=4.4

before_script:
  - composer install --prefer-source
  - mkdir -p build/logs

script:
  - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
  - ./vendor/bin/test-reporter

cache:
  directories:
    - vendor/

notifications:
  email: false
language: php

php:
  - 5.6
  - 7.0

env:
  global:
    - WP_VERSION=master
    - WP_VERSION=4.4

before_script:
  - composer install --prefer-source
  - mkdir -p build/logs

script:
  - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - ./vendor/bin/test-reporter

cache:
  directories:
    - vendor/

notifications:
  email: false
Move the CodeClimate reporting to an after_script hook so PRs don't start breaking the build
Move the CodeClimate reporting to an after_script hook so PRs don't start breaking the build
