austinheap/php-security-txt

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 7.2
  - 7.1
  - 7.0

before_script:
  - pecl install uopz
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
  - composer self-update
  - composer install --prefer-source --no-interaction

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

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

after_success:
  - vendor/bin/test-reporter