language: php
php:
  - 7.0

install:
  - composer install

script:
  - phpunit --coverage-clover=coverage.clover --bootstrap=./vendor/autoload.php tests

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

matrix:
  fast_finish: true
  allow_failures:
    - php:
      - nightly

notifications:
    irc:
        channels:
            # This must be encrypted or forks & PRs start spamming
            # travis encrypt "ircs://irc.freenode.net:6697/#wildphp-dev" -r WildPHP/Wild-IRC-Bot
            -  secure: "YfisfH8Pl6Zf3WsTOLnsWGJ6XDKWgQ2dwYkM0T0jBWXFpUM4A6UQGomx49cBQCa2s8lx59xVBqhRcrd6GwAn7yeGc64UdRVKHYm4LH4jUMVdewKsk4GKxj9FKUPQ6aHhbLyw0a6C8rAilxpmPmjT1LcJCGEH5IgB9mfgqGwJ+yI="
        use_notice: true
        skip_join: false

language: php
php:
  - 7.0
  - 7.1
  - nightly

install:
  - composer install

script:
  - phpunit --coverage-clover=coverage.clover --bootstrap=./vendor/autoload.php tests

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

matrix:
  fast_finish: true
  allow_failures:
    - php:
      - nightly

notifications:
    irc:
        channels:
            # This must be encrypted or forks & PRs start spamming
            # travis encrypt "ircs://irc.freenode.net:6697/#wildphp-dev" -r WildPHP/Wild-IRC-Bot
            -  secure: "YfisfH8Pl6Zf3WsTOLnsWGJ6XDKWgQ2dwYkM0T0jBWXFpUM4A6UQGomx49cBQCa2s8lx59xVBqhRcrd6GwAn7yeGc64UdRVKHYm4LH4jUMVdewKsk4GKxj9FKUPQ6aHhbLyw0a6C8rAilxpmPmjT1LcJCGEH5IgB9mfgqGwJ+yI="
        use_notice: true
        skip_join: false

Add PHP 7.1 and nightly to Travis
Add PHP 7.1 and nightly to Travis

Signed-off-by: Yoshi2889 <77953cd64cc4736aae27fa116356e02d2d97f7ce@gmail.com>
