Skip to content

Commit c96b534

Browse files
authored
Merge pull request kirankalyan5#80 from kirankalyan5/setup-travisCI
Add basic travis ci config.
2 parents 53e427a + 4749491 commit c96b534

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A react native component with the same concept of react native's SegmantedControlIOS, Primarily built to support both IOS and Android.",
55
"main": "src/SegmentedControlTab.js",
66
"scripts": {
7+
"lint": "eslint src/**/*.js",
78
"flow": "flow check",
89
"test": "jest"
910
},

travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- "8.11.2"
4+
jobs:
5+
include:
6+
- stage: "install dependencies"
7+
script: npm install
8+
- stage: "Quality Checks"
9+
name: "es lint"
10+
script: npm run lint
11+
name: "flow check"
12+
script: npm run flow
13+
name: "unit tests"
14+
script: npm run tests

0 commit comments

Comments
 (0)