Skip to content

Commit

Permalink
Merge pull request #21 from liam-wiltshire/ci-tidyup
Browse files Browse the repository at this point in the history
Tidy up CI config
  • Loading branch information
liam-wiltshire authored Oct 21, 2019
2 parents 035707b + eef1e42 commit 41f78f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@ jobs:
- ./vendor

# run tests with phpunit
- run: ./vendor/bin/phpunit
- run: ./vendor/bin/phpcs --standard=PSR2 src/
- run: php tests/CoverageCheck.php tests/clover.xml 95
- run: composer test

7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@
}
},
"scripts": {
"test": "phpunit",
"cs": "php-cs-fixer fix src/ --level=psr2"
"test": [
"./vendor/bin/phpunit",
"./vendor/bin/phpcs --standard=PSR2 src/",
"php tests/CoverageCheck.php tests/clover.xml 95"
]
},
"minimum-stability": "stable"
}

0 comments on commit 41f78f0

Please sign in to comment.