SinSquare/silex-doctrine-orm-provider

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php
dist: trusty
php:
- 5.6
- 7.0
- 7.1

env:
  global:
    - DB_CONNECTION=sqlite
    - CODACY_PROJECT_TOKEN=c0e230bf4c9b4c5dad55258d0b4c2dd5

sudo: false

install:
- "composer require codacy/coverage"
- "composer require codeclimate/php-test-reporter --dev"
- "composer update --no-interaction --prefer-stable"

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

after_script:
- CODECLIMATE_REPO_TOKEN="90dde12098e3ca686fd3f09807b1036ca3b3e6c54c53205fe888cc53215f9b2e" vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
- php vendor/bin/codacycoverage clover build/logs/clover.xml