nachonerd/silex_finder_provider

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
sudo: false
language: "php"

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm

before_script:
- "composer require codeclimate/php-test-reporter --dev"
- "composer install"

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

after_script:
- CODECLIMATE_REPO_TOKEN="45083943e56b5640e8351b0bf6eb47407f95005105fafd12cd7f15a90e20cd75" vendor/bin/test-reporter --stdout > codeclimate.json
- "sh -c 'if [ \"$TRAVIS_PHP_VERSION\" != \"hhvm\" ]; then 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  ; fi'"