Skip to content

Commit

Permalink
πŸ”€ Merge pull request #2 from alexlee-dev/ci
Browse files Browse the repository at this point in the history
✨ Support for Travis CI and Coveralls
  • Loading branch information
Alex Lee committed Jul 26, 2019
2 parents 505814f + 0f0912e commit 55679d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "node"
script:
- yarn build
- yarn coveralls
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Simple Text Apps

[![Coverage Status](https://coveralls.io/repos/github/alexlee-dev/simpleTextApps/badge.svg?branch=ci)](https://coveralls.io/github/alexlee-dev/simpleTextApps?branch=ci) [![Build Status](https://travis-ci.org/alexlee-dev/simpleTextApps.svg?branch=master)](https://travis-ci.org/alexlee-dev/simpleTextApps)

[Inspiration](https://www.dreamincode.net/forums/topic/78802-martyr2s-mega-project-ideas-list/)

## βœ… Reverse a String
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "lib/index.js",
"scripts": {
"test": "jest",
"build": "tsc"
"build": "tsc",
"coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls"
},
"author": "Alex Lee <alex@alexlee.dev>",
"license": "MIT",
Expand All @@ -15,6 +16,7 @@
"@babel/preset-typescript": "^7.3.3",
"@types/node": "^12.6.8",
"babel-jest": "^24.8.0",
"coveralls": "^3.0.5",
"jest": "^24.8.0",
"typescript": "^3.5.3"
}
Expand Down

0 comments on commit 55679d3

Please sign in to comment.