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 afe250d commit 86c80a2
Show file tree
Hide file tree
Showing 6 changed files with 643 additions and 367 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=46a3a6db2a7f2a69007a580eec9f2d482408bf871ac785e45c5de2bbd975f8bf

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 @@
# DBAL

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

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

Database access components for Daikon projects.
Database access components for Daikon-CQRS projects.
8 changes: 4 additions & 4 deletions composer.json
@@ -1,7 +1,7 @@
{
"name": "daikon/dbal",
"type": "library",
"description": "Database access components for Daikon projects.",
"description": "Database access components for Daikon-CQRS projects.",
"keywords": [ "database", "dbal", "immutable" ],
"homepage": "https://github.com/daikon-cqrs/dbal",
"license": "MPL-2.0",
Expand All @@ -16,8 +16,8 @@
"daikon/read-model": "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 @@ -38,7 +38,7 @@
"code-sniffer": "phpcs -p -s --extensions=php --standard='PSR1,PSR2' src tests",
"code-sniffer-autofix": "phpcbf --standard=PSR2 -d tabWidth=4 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 86c80a2

Please sign in to comment.