Skip to content

Commit de73faa

Browse files
committed
update circle-ci config
1 parent 869ab49 commit de73faa

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.circleci/config.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,22 @@ jobs:
2525
# fallback to using the latest cache if no exact match is found
2626
- v1-dependencies-
2727

28-
- run: composer install --no-interaction
28+
- run:
29+
name: Setup & install dependencies
30+
command: |
31+
composer install --no-interaction
2932
30-
# run tests with phpunit or codecept
31-
- run: mkdir -p ./build/logs
32-
- run: composer test
33-
- run: php ./vendor/bin/php-coveralls -v
33+
- run:
34+
name: Enable PCOV, disable Xdebug
35+
command: |
36+
mkdir -p ./build/logs
37+
sudo pecl install pcov
38+
39+
- run:
40+
name: Tests
41+
command: |
42+
composer test
43+
# php ./vendor/bin/php-coveralls -v
3444

3545
workflows:
3646
version: 2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require-dev": {
1919
"phpunit/phpunit": "9.5.16",
20-
"php-coveralls/php-coveralls": "^2.2"
20+
"php-coveralls/php-coveralls": "2.5.2"
2121
},
2222
"scripts": {
2323
"test": "php vendor/phpunit/phpunit/phpunit"

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)