ctrl-f5/ctrl-common

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 5.6
  - 7.0

branches:
  only:
    - master
    - 2.0
    - 1.0
    - /.*/
#matrix:
#  fast_finish: true
#  include:
#    - php: 5.6
#      env: SYMFONY_VERSION=3.0.*
#    - php: 5.6
#      env: SYMFONY_VERSION=3.1.*
#    - php: 7.0
#      env: SYMFONY_VERSION=3.0.*
#    - php: 7.0
#      env: SYMFONY_VERSION=3.1.*
#    - php: 7.1
#      env: SYMFONY_VERSION=3.0.*
#    - php: 7.1
#      env: SYMFONY_VERSION=3.1.*

cache:
  directories:
    - $HOME/.composer/cache

before_script:
  - composer self-update
  - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
  - composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

after_script:
  - CODECLIMATE_REPO_TOKEN=aa842b55fe5c7c1ddab1feb20f04b51c8f7e58868a212d42e6c97bf76d635be7 ./vendor/bin/test-reporter

script: phpunit --coverage-clover build/logs/clover.xml