Skip to content

Commit

Permalink
Update deps and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHash committed May 28, 2020
1 parent bfc242a commit c922fe8
Show file tree
Hide file tree
Showing 5 changed files with 598 additions and 336 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
@@ -0,0 +1,29 @@
language: php

php:
- 7.4

os: linux
dist: bionic

env:
global:
CC_TEST_REPORTER_ID=2d3cf1143f8ce28e34f6ae65c2c0ef6224783306e6796598b7a6b5f082764029

install:
- curl -s http://getcomposer.org/installer | php -- --filename=composer
- chmod +x composer
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > cc-test-reporter
- chmod +x cc-test-reporter
- wget -q https://scrutinizer-ci.com/ocular.phar
- composer install --no-interaction

before_script:
- ./cc-test-reporter before-build

script:
- composer build

after_script:
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
13 changes: 10 additions & 3 deletions README.md
@@ -1,7 +1,14 @@
# Async Job

[![Build Status](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/badges/build.png?b=master)](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/build-status/master)
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/daikon/async-job)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/daikon-cqrs/async-job)
![Packagist License](https://img.shields.io/packagist/l/daikon/async-job)

[![Build Status](https://travis-ci.com/daikon-cqrs/async-job.svg?branch=master)](https://travis-ci.com/daikon-cqrs/async-job)
[![Code Coverage](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/?branch=master)
[![Code Quality](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/?branch=master)
[![Type Coverage](https://shepherd.dev/github/daikon-cqrs/async-job/coverage.svg)](https://shepherd.dev/github/daikon-cqrs/async-job)
[![Libraries.io dependency status](https://img.shields.io/librariesio/github/daikon-cqrs/async-job)](https://libraries.io/github/daikon-cqrs/async-job)
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/daikon-cqrs/async-job/master)](https://scrutinizer-ci.com/g/daikon-cqrs/async-job/?branch=master)
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/daikon-cqrs/async-job)](https://codeclimate.com/github/daikon-cqrs/async-job/maintainability)

Asynchronous job components for Daikon projects.
Asynchronous job components for Daikon-CQRS projects.
8 changes: 4 additions & 4 deletions composer.json
@@ -1,7 +1,7 @@
{
"name": "daikon/async-job",
"type": "library",
"description": "Asynchronous job components for Daikon projects.",
"description": "Asynchronous job components for Daikon-CQRS projects.",
"keywords": [ "async", "background", "delayed", "job", "worker" ],
"homepage": "https://github.com/daikon-cqrs/async-job",
"license": "MPL-2.0",
Expand All @@ -15,8 +15,8 @@
"daikon/metadata": "master@dev"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"sebastian/phpcpd": "^4.1",
"phpunit/phpunit": "^9.0",
"sebastian/phpcpd": "^5.0",
"squizlabs/php_codesniffer": "^3.3",
"vimeo/psalm": "^3.0"
},
Expand All @@ -37,7 +37,7 @@
"code-sniffer-autofix": "phpcbf --standard=PSR2 -d tabWidth=4 src tests",
"code-sniffer": "phpcs -p -s --extensions=php --standard='PSR1,PSR2' src tests",
"copy-paste-detector": "phpcpd src tests || true",
"psalm": "psalm --show-info=true",
"psalm": "psalm --shepherd --show-info=true",
"sniff": [
"@code-sniffer",
"@copy-paste-detector",
Expand Down

0 comments on commit c922fe8

Please sign in to comment.