Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Added junit to circle-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Fraser committed Jan 26, 2017
1 parent 6b5d131 commit 7fd4ebb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions circle.yml
Expand Up @@ -22,15 +22,20 @@ stages:
command: composer install -o --prefer-dist --no-interaction
- type: shell
name: Run Tests
command: vendor/bin/phpunit -c phpunit.xml --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml --coverage-clover build/logs/clover.xml tests
command: |
mkdir -p /tmp/testresults/phpunit
vendor/bin/phpunit -c phpunit.xml --log-junit /tmp/testresults/phpunit/junit.xml --coverage-clover build/logs/clover.xml tests
- type: shell
name: Run Coding Standards
command: |
mkdir -p /tmp/testresults/phpcs
vendor/bin/phpcs --config-set installed_paths vendor/culturekings/symfony2-coding-standard
vendor/bin/phpcs
vendor/bin/phpcs --report-junit=/tmp/testresults/phpcs/junit.xml
vendor/bin/phpcpd ./src
- type: shell
name: Update Code Coverage
command: |
mkdir -p build/logs
vendor/bin/coveralls -v -x build/logs/clover.xml
- type: test-results-store
path: /tmp/testresults/

0 comments on commit 7fd4ebb

Please sign in to comment.