schnittstabil/composer-extra

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 5.6
  - 7
  - 7.0
  - 7.1
  - 7.2
  - hhvm

sudo: false

install:
  - composer selfupdate
  - |
    if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then
      composer require 'codeclimate/php-test-reporter:*' 'satooshi/php-coveralls:*'
    else
      composer install
    fi

script:
  - composer travis

after_success:
  - if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/test-reporter; fi
  - if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/coveralls -v; fi

matrix:
  allow_failures:
    - php: hhvm

addons:
  code_climate:
    repo_token: e4ad328487f600d7487603cd905e1575ccb0055b9ea27b142643568e9e82a608