.travis.yml
language: php
matrix:
include:
- php: 5.6
env: PUG_VERSION='^2.7.1'
- php: 5.6
env: PUG_VERSION='^3.0.0'
- php: 7.0
env: PUG_VERSION='^2.7.1'
- php: 7.0
env: PUG_VERSION='^3.0.0'
- php: 7.1
env: PUG_VERSION='^2.7.1'
- php: 7.1
env: PUG_VERSION='^3.0.0'
- php: 7.2
env: PUG_VERSION='^2.7.1'
- php: 7.2
env: PUG_VERSION='^3.0.0'
- php: 7.3
env: PUG_VERSION='^2.7.1'
- php: 7.3
env: PUG_VERSION='^3.0.0'
before_script:
- travis_retry composer self-update
- if [ "$PUG_VERSION" != "" ]; then travis_retry composer require "pug-php/pug:${PUG_VERSION}" --no-update; fi;
- travis_retry composer update --no-interaction
script:
- vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.xml
after_script:
- vendor/bin/test-reporter --coverage-report coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
code_climate:
repo_token: 42424e464a16a1cd50ed98cf9dc112e78f53a443566a26f2b3f7a86d3386d4cd