Skip to content

Commit fda99ba

Browse files
authored
Merge pull request #28 from omriLugasi/add-travis-and-covarge-all
add travis to the CI/CD process
2 parents 0e5d88a + 5c09a42 commit fda99ba

File tree

6 files changed

+301
-11
lines changed

6 files changed

+301
-11
lines changed

Diff for: .npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules/
33
README.md
44
ROAD_MAP.md
55
.gitignore
6+
.travis.yml
67
.eslintrc.json
78
yarn-error.log/
89
test/

Diff for: .travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sudo: false
2+
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
6+
notifications:
7+
on_failure: change
8+
on_success: never
9+
node_js:
10+
- 12
11+
- 10
12+
13+
script:
14+
- yarn run eslint:src
15+
- yarn run eslint:test
16+
- yarn run test
17+
- yarn run covarge:all

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![install size](https://packagephobia.now.sh/badge?p=redel)](https://packagephobia.now.sh/result?p=redel)
44
[![npm downloads](https://img.shields.io/npm/dm/redel.svg?style=flat-square)](http://npm-stat.com/charts.html?package=redel)
55
![license: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
6+
[![Build Status](https://travis-ci.org/omriLugasi/Redel.svg?branch=master)](https://travis-ci.org/omriLugasi/Redel)
7+
[![Coverage Status](https://coveralls.io/repos/github/omriLugasi/Redel/badge.svg)](https://coveralls.io/github/omriLugasi/Redel)
68

79
A middleware library for promise based axios for the browser and nodeJs
810

Diff for: ROAD_MAP.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# ROADMAP
2-
- CI
3-
- https://coveralls.io/
42
- Create your on invirte module
53
- configuration for each plugin
64
- Informative README stage 2 (english improvement)
@@ -11,5 +9,6 @@
119

1210
Options
1311
----
14-
- cache module
15-
- differ module
12+
- statistics plugin
13+
- cache plugin
14+
- differ plugin

Diff for: package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redel",
3-
"version": "0.6.0-beta.6",
3+
"version": "1.0.0",
44
"main": "dist/index.js",
55
"license": "MIT",
66
"description": "Promise based HTTP client for the browser and node.js",
@@ -10,6 +10,7 @@
1010
"test": "ALLOW_LOG=false mocha --recursive ./test",
1111
"covarge:html": "nyc --r=html mocha --recursive ./test",
1212
"covarge": "nyc mocha --recursive ./test",
13+
"covarge:all": "nyc mocha --recursive ./test && nyc report --reporter=text-lcov | coveralls",
1314
"eslint:src": "eslint src/",
1415
"eslint:test": "eslint test/"
1516
},
@@ -47,6 +48,7 @@
4748
"devDependencies": {
4849
"body-parser": "^1.19.0",
4950
"chai": "^4.2.0",
51+
"coveralls": "^3.0.7",
5052
"eslint": "^6.5.1",
5153
"eslint-config-airbnb-base": "^14.0.0",
5254
"eslint-plugin-import": "^2.18.2",

0 commit comments

Comments
 (0)