We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8443ccc commit a36624fCopy full SHA for a36624f
.travis.yml
@@ -5,12 +5,19 @@ php:
5
- '7.1'
6
- nightly
7
8
+# Install test coverage package.
9
+install:
10
+ - composer require satooshi/php-coveralls
11
+
12
+# Install packages and create test coverage log directory.
13
before_script:
14
- composer self-update
- - composer install --dev
15
+ - composer install --dev --no-interaction
16
+ - mkdir -p build/logs
17
18
+# Run tests and generate test coverage report.
19
script:
- - phpunit -d api_key=$API_KEY
20
+ - phpunit -d api_key=$API_KEY --coverage-clover build/logs/clover.xml
21
22
notifications:
23
email:
0 commit comments