Skip to content
Permalink
Browse files

Update test reporter

  • Loading branch information...
kiwiz committed Apr 25, 2018
1 parent 03051ef commit fe36bd7eac24e3c495039ae998dadc9003c9e9ce
Showing with 9 additions and 2 deletions.
  1. +8 −1 .travis.yml
  2. +1 −1 docs/Setup.md
@@ -1,13 +1,20 @@
language: php
php:
- '7.1'
- '7.2'
before_script:
- 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
script:
- composer require --ignore-platform-reqs codeclimate/php-test-reporter dev-master
- mkdir -p build/logs
- cp tests/config_test.php config.php
- cp tests/hook_test.php hook.php
- COMPOSER=composer-es5x.json composer install
- ./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover build/logs/clover.xml
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./vendor/bin/test-reporter; fi'
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
cache:
directories:
- vendor
@@ -5,7 +5,7 @@ Dependencies
------------

- Apache 2
- PHP 5.5 with SQLite3 support
- PHP 7.0+ with SQLite3 support
- Sqlite 3.3+/MySQL
- Git
- Composer

0 comments on commit fe36bd7

Please sign in to comment.
You can’t perform that action at this time.