Skip to content

Commit 3111f48

Browse files
committed
Updated Travis, Codecov and Docs
1 parent 6b32caf commit 3111f48

25 files changed

+3146
-251
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ script:
88
- npm run lib
99
- npm run build:docs
1010
- npm run test:unit
11+
- npm run codecov

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![npm](https://img.shields.io/npm/v/vue-numeric-input.svg?style=flat-square)](https://www.npmjs.com/package/vue-numeric-input)
44
[![npm](https://img.shields.io/npm/dt/vue-numeric-input.svg?style=flat-square)](https://www.npmjs.com/package/vue-numeric-input)
5-
[![Build Status](https://travis-ci.org/JayeshLab/vue-numeric-input.svg?branch=master)](https://travis-ci.org/JayeshLab/vue-numeric-input)
6-
[![codecov](https://codecov.io/gh/JayeshLab/vue-numeric-input/branch/master/graph/badge.svg)](https://codecov.io/gh/JayeshLab/vue-numeric-input)
5+
[![Build Status](https://api.travis-ci.com/JayeshLab/vue3-resize-text.svg?branch=master)](https://app.travis-ci.com/github/JayeshLab/vue-numeric-input)
6+
[![codecov](https://codecov.io/gh/JayeshLab/vue-numeric-input/branch/master/graph/badge.svg?token=a4re2w3cGy)](https://codecov.io/gh/JayeshLab/vue-numeric-input)
77
[![npm](https://img.shields.io/npm/l/vue-numeric-input.svg?style=flat-square)](http://opensource.org/licenses/MIT)
88

99
Number input component based on Vue that is a replacement of native input number with optional control.

codecov.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 80% # the required coverage value
6+
threshold: 1% # the leniency in hitting the target

coverage/clover.xml

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<coverage generated="1632977986639" clover="3.2.0">
3+
<project timestamp="1632977986639" name="All files">
4+
<metrics statements="94" coveredstatements="93" conditionals="62" coveredconditionals="51" methods="28" coveredmethods="28" elements="184" coveredelements="172" complexity="0" loc="94" ncloc="94" packages="1" files="1" classes="1"/>
5+
<file name="vue-numeric-input.vue" path="D:\GitHub\VueNumericInputNew\vue-numeric-input\src\vue-numeric-input.vue">
6+
<metrics statements="94" coveredstatements="93" conditionals="62" coveredconditionals="51" methods="28" coveredmethods="28"/>
7+
<line num="64" count="1" type="stmt"/>
8+
<line num="94" count="31" type="stmt"/>
9+
<line num="100" count="3" type="cond" truecount="2" falsecount="0"/>
10+
<line num="137" count="31" type="stmt"/>
11+
<line num="150" count="31" type="cond" truecount="2" falsecount="0"/>
12+
<line num="151" count="3" type="stmt"/>
13+
<line num="153" count="31" type="cond" truecount="4" falsecount="0"/>
14+
<line num="154" count="2" type="stmt"/>
15+
<line num="155" count="29" type="cond" truecount="4" falsecount="0"/>
16+
<line num="156" count="2" type="stmt"/>
17+
<line num="158" count="27" type="stmt"/>
18+
<line num="161" count="31" type="cond" truecount="2" falsecount="0"/>
19+
<line num="162" count="3" type="stmt"/>
20+
<line num="174" count="1" type="stmt"/>
21+
<line num="175" count="1" type="cond" truecount="1" falsecount="1"/>
22+
<line num="184" count="3" type="cond" truecount="1" falsecount="1"/>
23+
<line num="185" count="3" type="stmt"/>
24+
<line num="195" count="19" type="cond" truecount="1" falsecount="1"/>
25+
<line num="196" count="19" type="stmt"/>
26+
<line num="197" count="19" type="stmt"/>
27+
<line num="198" count="19" type="stmt"/>
28+
<line num="199" count="19" type="cond" truecount="2" falsecount="0"/>
29+
<line num="200" count="1" type="stmt"/>
30+
<line num="202" count="19" type="stmt"/>
31+
<line num="208" count="8" type="cond" truecount="4" falsecount="0"/>
32+
<line num="209" count="6" type="cond" truecount="1" falsecount="1"/>
33+
<line num="210" count="6" type="stmt"/>
34+
<line num="211" count="6" type="stmt"/>
35+
<line num="214" count="6" type="cond" truecount="2" falsecount="0"/>
36+
<line num="215" count="5" type="stmt"/>
37+
<line num="216" count="5" type="stmt"/>
38+
<line num="218" count="1" type="stmt"/>
39+
<line num="226" count="4" type="cond" truecount="3" falsecount="1"/>
40+
<line num="227" count="4" type="cond" truecount="1" falsecount="1"/>
41+
<line num="228" count="4" type="stmt"/>
42+
<line num="229" count="4" type="stmt"/>
43+
<line num="232" count="4" type="cond" truecount="2" falsecount="0"/>
44+
<line num="233" count="3" type="stmt"/>
45+
<line num="234" count="3" type="stmt"/>
46+
<line num="236" count="1" type="stmt"/>
47+
<line num="244" count="1" type="stmt"/>
48+
<line num="245" count="1" type="cond" truecount="1" falsecount="1"/>
49+
<line num="246" count="1" type="stmt"/>
50+
<line num="255" count="9" type="stmt"/>
51+
<line num="256" count="9" type="stmt"/>
52+
<line num="257" count="9" type="stmt"/>
53+
<line num="258" count="9" type="stmt"/>
54+
<line num="259" count="9" type="stmt"/>
55+
<line num="266" count="9" type="stmt"/>
56+
<line num="267" count="9" type="cond" truecount="1" falsecount="1"/>
57+
<line num="268" count="9" type="stmt"/>
58+
<line num="270" count="9" type="stmt"/>
59+
<line num="271" count="9" type="stmt"/>
60+
<line num="272" count="9" type="stmt"/>
61+
<line num="273" count="9" type="stmt"/>
62+
<line num="274" count="15" type="cond" truecount="2" falsecount="0"/>
63+
<line num="282" count="4" type="stmt"/>
64+
<line num="289" count="5" type="stmt"/>
65+
<line num="296" count="1" type="stmt"/>
66+
<line num="302" count="1" type="cond" truecount="1" falsecount="1"/>
67+
<line num="303" count="1" type="stmt"/>
68+
<line num="310" count="1" type="stmt"/>
69+
<line num="313" count="3" type="stmt"/>
70+
<line num="314" count="3" type="stmt"/>
71+
<line num="315" count="3" type="cond" truecount="2" falsecount="0"/>
72+
<line num="316" count="1" type="stmt"/>
73+
<line num="318" count="2" type="stmt"/>
74+
<line num="320" count="3" type="stmt"/>
75+
<line num="323" count="6" type="stmt"/>
76+
<line num="324" count="6" type="stmt"/>
77+
<line num="325" count="3" type="stmt"/>
78+
<line num="326" count="3" type="cond" truecount="1" falsecount="1"/>
79+
<line num="327" count="0" type="stmt"/>
80+
<line num="329" count="3" type="stmt"/>
81+
<line num="330" count="3" type="stmt"/>
82+
<line num="337" count="39" type="stmt"/>
83+
<line num="340" count="9" type="stmt"/>
84+
<line num="341" count="9" type="stmt"/>
85+
<line num="345" count="10" type="stmt"/>
86+
<line num="346" count="10" type="cond" truecount="2" falsecount="0"/>
87+
<line num="347" count="1" type="stmt"/>
88+
<line num="349" count="9" type="cond" truecount="1" falsecount="1"/>
89+
<line num="356" count="31" type="cond" truecount="2" falsecount="0"/>
90+
<line num="363" count="31" type="stmt"/>
91+
<line num="366" count="31" type="stmt"/>
92+
<line num="367" count="31" type="cond" truecount="2" falsecount="0"/>
93+
<line num="368" count="1" type="stmt"/>
94+
<line num="369" count="30" type="cond" truecount="2" falsecount="0"/>
95+
<line num="370" count="1" type="stmt"/>
96+
<line num="372" count="31" type="cond" truecount="2" falsecount="0"/>
97+
<line num="376" count="27" type="stmt"/>
98+
<line num="377" count="27" type="stmt"/>
99+
<line num="378" count="27" type="stmt"/>
100+
<line num="379" count="27" type="stmt"/>
101+
</file>
102+
</project>
103+
</coverage>

coverage/coverage-final.json

+2
Large diffs are not rendered by default.

coverage/index.html

+21-21
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,30 @@ <h1>All files</h1>
2222
<div class='clearfix'>
2323

2424
<div class='fl pad1y space-right2'>
25-
<span class="strong">0% </span>
25+
<span class="strong">98.94% </span>
2626
<span class="quiet">Statements</span>
27-
<span class='fraction'>0/94</span>
27+
<span class='fraction'>93/94</span>
2828
</div>
2929

3030

3131
<div class='fl pad1y space-right2'>
32-
<span class="strong">0% </span>
32+
<span class="strong">82.26% </span>
3333
<span class="quiet">Branches</span>
34-
<span class='fraction'>0/62</span>
34+
<span class='fraction'>51/62</span>
3535
</div>
3636

3737

3838
<div class='fl pad1y space-right2'>
39-
<span class="strong">0% </span>
39+
<span class="strong">100% </span>
4040
<span class="quiet">Functions</span>
41-
<span class='fraction'>0/28</span>
41+
<span class='fraction'>28/28</span>
4242
</div>
4343

4444

4545
<div class='fl pad1y space-right2'>
46-
<span class="strong">0% </span>
46+
<span class="strong">98.94% </span>
4747
<span class="quiet">Lines</span>
48-
<span class='fraction'>0/94</span>
48+
<span class='fraction'>93/94</span>
4949
</div>
5050

5151

@@ -54,7 +54,7 @@ <h1>All files</h1>
5454
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
5555
</p>
5656
</div>
57-
<div class='status-line low'></div>
57+
<div class='status-line high'></div>
5858
<div class="pad1">
5959
<table class="coverage-summary">
6060
<thead>
@@ -72,18 +72,18 @@ <h1>All files</h1>
7272
</tr>
7373
</thead>
7474
<tbody><tr>
75-
<td class="file low" data-value="vue-numeric-input.vue"><a href="vue-numeric-input.vue.html">vue-numeric-input.vue</a></td>
76-
<td data-value="0" class="pic low">
77-
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
75+
<td class="file high" data-value="vue-numeric-input.vue"><a href="vue-numeric-input.vue.html">vue-numeric-input.vue</a></td>
76+
<td data-value="98.94" class="pic high">
77+
<div class="chart"><div class="cover-fill" style="width: 98%"></div><div class="cover-empty" style="width: 2%"></div></div>
7878
</td>
79-
<td data-value="0" class="pct low">0%</td>
80-
<td data-value="94" class="abs low">0/94</td>
81-
<td data-value="0" class="pct low">0%</td>
82-
<td data-value="62" class="abs low">0/62</td>
83-
<td data-value="0" class="pct low">0%</td>
84-
<td data-value="28" class="abs low">0/28</td>
85-
<td data-value="0" class="pct low">0%</td>
86-
<td data-value="94" class="abs low">0/94</td>
79+
<td data-value="98.94" class="pct high">98.94%</td>
80+
<td data-value="94" class="abs high">93/94</td>
81+
<td data-value="82.26" class="pct high">82.26%</td>
82+
<td data-value="62" class="abs high">51/62</td>
83+
<td data-value="100" class="pct high">100%</td>
84+
<td data-value="28" class="abs high">28/28</td>
85+
<td data-value="98.94" class="pct high">98.94%</td>
86+
<td data-value="94" class="abs high">93/94</td>
8787
</tr>
8888

8989
</tbody>
@@ -94,7 +94,7 @@ <h1>All files</h1>
9494
<div class='footer quiet pad2 space-top1 center small'>
9595
Code coverage generated by
9696
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97-
at Wed Sep 29 2021 17:02:12 GMT+0530 (India Standard Time)
97+
at Thu Sep 30 2021 10:29:46 GMT+0530 (India Standard Time)
9898
</div>
9999
</div>
100100
<script src="prettify.js"></script>

0 commit comments

Comments
 (0)