mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-22 17:10:26 +03:00
Added integration with scrutinizer
This commit is contained in:
parent
9b063a4616
commit
c092f290ec
5 changed files with 29 additions and 2 deletions
2
.scrutinizer.yml
Normal file
2
.scrutinizer.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
tools:
|
||||
external_code_coverage: true
|
|
@ -13,7 +13,10 @@ install:
|
|||
|
||||
script:
|
||||
# - yarn inspect
|
||||
- yarn test
|
||||
- yarn test --coverage
|
||||
- yarn build # Make sure the app can be built without errors
|
||||
|
||||
after_script:
|
||||
- yarn ocular coverage/clover.xml
|
||||
|
||||
sudo: false
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# shlink-web-client
|
||||
|
||||
[![Build Status](https://travis-ci.org/shlinkio/shlink-web-client.svg?branch=master)](https://travis-ci.org/shlinkio/shlink-web-client)
|
||||
[![Build Status](https://img.shields.io/travis/shlinkio/shlink-web-client.svg?style=flat-square)](https://travis-ci.org/shlinkio/shlink-web-client)
|
||||
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/shlinkio/shlink-web-client.svg?style=flat-square)](https://scrutinizer-ci.com/gshlinkio/shlink-web-client/?branch=master)
|
||||
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/shlinkio/shlink-web-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/shlinkio/shlink-web-client/?branch=master)
|
||||
[![GitHub release](https://img.shields.io/github/release/shlinkio/shlink-web-client.svg?style=flat-square)](https://github.com/shlinkio/shlink-web-client/releases/latest)
|
||||
[![GitHub license](https://img.shields.io/github/license/shlinkio/shlink-web-client.svg?style=flat-square)](https://github.com/shlinkio/shlink-web-client/blob/master/LICENSE)
|
||||
|
||||
A ReactJS-based progressive web application for [Shlink](https://shlink.io).
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
"jest": "20.0.4",
|
||||
"node-sass": "^4.9.0",
|
||||
"object-assign": "4.1.1",
|
||||
"ocular.js": "^0.1.0",
|
||||
"postcss-flexbugs-fixes": "3.2.0",
|
||||
"postcss-loader": "2.0.8",
|
||||
"raf": "3.4.0",
|
||||
|
@ -85,6 +86,13 @@
|
|||
"whatwg-fetch": "2.0.3"
|
||||
},
|
||||
"jest": {
|
||||
"coverageReporters": [
|
||||
"text",
|
||||
"text-summary",
|
||||
"clover",
|
||||
"html"
|
||||
],
|
||||
"coverageDirectory": "<rootDir>/coverage",
|
||||
"collectCoverageFrom": [
|
||||
"src/**/*.{js,jsx,mjs}"
|
||||
],
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -1691,6 +1691,10 @@ commander@^2.11.0:
|
|||
version "2.17.0"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.0.tgz#9d07b25e2a6f198b76d8b756a0e8a9604a6a1a60"
|
||||
|
||||
commander@^2.9.0:
|
||||
version "2.17.1"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
|
||||
|
||||
commondir@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
|
||||
|
@ -5313,6 +5317,12 @@ obuf@^1.0.0, obuf@^1.1.1:
|
|||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
|
||||
|
||||
ocular.js@^0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/ocular.js/-/ocular.js-0.1.0.tgz#3a146ab59864e97ffb12f83e1d8f03b9abf9a866"
|
||||
dependencies:
|
||||
commander "^2.9.0"
|
||||
|
||||
on-finished@~2.3.0:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
|
||||
|
|
Loading…
Reference in a new issue