sudo: false

language: php

notifications:
  email:
    on_success: never
    on_failure: change

branches:
  only:
    - /^release\/.*$/
    - feature/travis
    - master

php:
  - 5.4
  - 5.5
  - 5.6

env:
  - WP_VERSION=3.7 WP_MULTISITE=0
  - WP_VERSION=3.7 WP_MULTISITE=1

matrix:

before_script:
  - bash bin/install-phpunit.sh
  - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
  - export PATH="$HOME/.composer/vendor/bin:$PATH"

script:
  - vendor/bin/phpunit --report-useless-tests --verbose

sudo: false

language: php

notifications:
  email:
    on_success: never
    on_failure: change

branches:
  only:
    - /^release\/.*$/
    - feature/travis
    - master

php:
  - 5.4
  - 5.5
  - 5.6

env:
  - WP_VERSION=3.8.2 WP_MULTISITE=0
  - WP_VERSION=3.8.2 WP_MULTISITE=1

matrix:

before_script:
  - bash bin/install-phpunit.sh
  - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
  - export PATH="$HOME/.composer/vendor/bin:$PATH"

script:
  - vendor/bin/phpunit --report-useless-tests --verbose

Test 0.8.12 in WP v3.8.2 + multisite on PHP v5.4, 5.5, 5.6
Test 0.8.12 in WP v3.8.2 + multisite on PHP v5.4, 5.5, 5.6

