File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 59
59
# Install Mautic
60
60
- cd mautic
61
61
- composer install
62
+ - pecl install pcov
62
63
- php bin/console doctrine:database:create --no-interaction
63
64
- php bin/console mautic:install:data --force
64
65
74
75
75
76
# Back to api-library directory
76
77
- cd ../
77
- - vendor/bin/phpunit --fail-on-warning
78
+ - vendor/bin/phpunit --fail-on-warning --coverage-clover coverage.xml
78
79
-
79
80
name : CS Fixer
80
81
script : vendor/bin/php-cs-fixer fix --config=.php_cs -v --dry-run --using-cache=no --show-progress=dots --diff $(git diff -- '*.php' --name-only --diff-filter=ACMRTUXB "${TRAVIS_COMMIT_RANGE}")
82
+
83
+ after_success :
84
+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 1
- [ ![ Latest Stable Version] ( https://poser.pugx.org/mautic/api-library/v )] ( //packagist.org/packages/mautic/api-library ) [ ![ Total Downloads] ( https://poser.pugx.org/mautic/api-library/downloads )] ( //packagist.org/packages/mautic/api-library ) [ ![ Latest Unstable Version] ( https://poser.pugx.org/mautic/api-library/v/unstable )] ( //packagist.org/packages/mautic/api-library ) [ ![ License] ( https://poser.pugx.org/mautic/api-library/license )] ( //packagist.org/packages/mautic/api-library )
1
+ [ ![ codecov ] ( https://codecov.io/gh/mautic/api-library/branch/master/graph/badge.svg )] ( https://codecov.io/gh/mautic/api-library ) [ ![ Latest Stable Version] ( https://poser.pugx.org/mautic/api-library/v )] ( //packagist.org/packages/mautic/api-library ) [ ![ Total Downloads] ( https://poser.pugx.org/mautic/api-library/downloads )] ( //packagist.org/packages/mautic/api-library ) [ ![ Latest Unstable Version] ( https://poser.pugx.org/mautic/api-library/v/unstable )] ( //packagist.org/packages/mautic/api-library ) [ ![ License] ( https://poser.pugx.org/mautic/api-library/license )] ( //packagist.org/packages/mautic/api-library )
2
2
3
3
# Using the Mautic API Library
4
4
You can’t perform that action at this time.
0 commit comments