language: php

php:
  - 5.3
  - 5.4
  - 5.5

before_script:
  - composer install --dev
  - vendor/bin/phpcs --config-set encoding utf-8

script:
  # Run PHP lint on all PHP files.
  - find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
  # Check the coding style.
  - vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ Classes/
  - vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/EmogrifierTests/ Tests/
  # Run the unit tests.
  - vendor/bin/phpunit Tests/

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6

before_script:
  - composer install --dev
  - vendor/bin/phpcs --config-set encoding utf-8

script:
  # Run PHP lint on all PHP files.
  - find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
  # Check the coding style.
  - vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ Classes/
  - vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/EmogrifierTests/ Tests/
  # Run the unit tests.
  - vendor/bin/phpunit Tests/

Add support for PHP 5.6.
[TASK] Add support for PHP 5.6.

This change adds 5.6 to the build matrix in the Travis configuration.

Resolves #80
