language: php

git:
  depth: 5

matrix:
  include:
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.3
      env: MULTITEST='on'

install:
  - travis_retry composer self-update
  - travis_retry composer install

script:
  - if [ "$MULTITEST" != "on" ]; then vendor/bin/phug-dev check --report --coverage-php-version=5.6; fi;
  - if [ "$MULTITEST" = "on" ]; then vendor/bin/multi-tester --verbose; fi;

notifications:
  slack: phug:nzXFnxhU14RWK2EQSDL0u08z

addons:
  code_climate:
    repo_token: 02fe167d8f1d62fb82f40c2d8bd0f0bb5a5092a92665c7874e7ff3a4c523c39c

language: php

git:
  depth: 5

matrix:
  include:
    - php: 5.5
      dist: precise
    - php: 5.6
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.3
      env: MULTITEST='on'

install:
  - travis_retry composer self-update
  - travis_retry composer install

script:
  - if [ "$MULTITEST" != "on" ]; then vendor/bin/phug-dev check --report --coverage-php-version=5.6; fi;
  - if [ "$MULTITEST" = "on" ]; then vendor/bin/multi-tester --verbose; fi;

notifications:
  slack: phug:nzXFnxhU14RWK2EQSDL0u08z

addons:
  code_climate:
    repo_token: 02fe167d8f1d62fb82f40c2d8bd0f0bb5a5092a92665c7874e7ff3a4c523c39c

Set PHP 5.5 Travis distribution to precise
Set PHP 5.5 Travis distribution to precise