Skip to content

Commit 41f78f0

Browse files
Merge pull request #21 from liam-wiltshire/ci-tidyup
Tidy up CI config
2 parents 035707b + eef1e42 commit 41f78f0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,5 @@ jobs:
3131
- ./vendor
3232

3333
# run tests with phpunit
34-
- run: ./vendor/bin/phpunit
35-
- run: ./vendor/bin/phpcs --standard=PSR2 src/
36-
- run: php tests/CoverageCheck.php tests/clover.xml 95
34+
- run: composer test
3735

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@
2727
}
2828
},
2929
"scripts": {
30-
"test": "phpunit",
31-
"cs": "php-cs-fixer fix src/ --level=psr2"
30+
"test": [
31+
"./vendor/bin/phpunit",
32+
"./vendor/bin/phpcs --standard=PSR2 src/",
33+
"php tests/CoverageCheck.php tests/clover.xml 95"
34+
]
3235
},
3336
"minimum-stability": "stable"
3437
}

0 commit comments

Comments
 (0)