Skip to content

Commit

Permalink
Merge 5019abc into 5d157d4
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage committed Dec 17, 2018
2 parents 5d157d4 + 5019abc commit 57a2e18
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
service_name: travis-ci
coverage_clover: ./tmp/clover.xml
json_path: ./tmp/coverage.json
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.idea
/vendor
/composer.lock
/composer.lock
/tmp
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
language: php

matrix:
include:
- php: 7.2
env: PHPUNIT_FLAGS="--coverage-clover ./tmp/clover.xml"

php:
- '7.1'
- '7.2'
- '7.3'
- nightly

install: 'composer install'

script:
- vendor/bin/phpunit $PHPUNIT_FLAGS

after_script:
- '[[ $PHPUNIT_FLAGS = "" ]] || ./vendor/bin/php-coveralls --verbose'

branches:
only:
- master
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"require-dev": {
"phpoffice/phpspreadsheet": "^1.5",
"phpunit/phpunit": "^7.5",
"endroid/qr-code": "^3.2"
"endroid/qr-code": "^3.2",
"satooshi/php-coveralls": "^2.0"
},
"autoload-dev": {
"psr-4": {
Expand Down

0 comments on commit 57a2e18

Please sign in to comment.