Skip to content

Commit

Permalink
feat: codecov + travis
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lemon committed Jul 18, 2019
1 parent bbe3a66 commit 471139e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: node_js
sudo: false
node_js:
- 10
- 8
install:
- npm install
script:
- npm run test
env:
# codecov token: see https://codecov.io/gh/lemoncloud-io/lemon-hello-api/settings
- CODECOV_TOKEN="0cd44aea-7596-4f0c-b830-110c85fd9d3d"
after_success:
- ./node_modules/.bin/codecov

18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# lemon-hello-api

Basic Serverless Hello API with Lambda + API Gateway + KMS
Basic Serverless Hello API with `Lambda` + `API Gateway` + `Web Socket` + `SNS` + `SQS` + `KMS`

- Hello Nodejs DevOps Project with `babel` + `eslint` + `jest` + `supertest` + `codecov` + `travis`

- Integrate with `Slack` + `CloudWatch Alarm`


## 설명 (Description)

- `Nodejs` 기반 오픈소스 표준 개발 환경 구성안.
- AWS CloudWatch 의 내용을 `lemon-hello-sns`으로 수신 함 -> 이후 슬랙으로 전달
- 슬랙 webhook를 이용하여, 해당 슬랙 채널에 메세지를 보냄

Expand Down Expand Up @@ -62,6 +68,16 @@ AWS Lambda 에 배포됨.
```


## 기여하기 (Contribution)

누구나 어느내용이든 참여가능하며, 수정 요청시 PR 로 요청 주세요.


## 라이센스 (License)

MIT License


----------------
# VERSION INFO #

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.26.0",
"body-parser": "^1.19.0",
"codecov": "^3.5.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.16.0",
Expand All @@ -78,6 +79,8 @@
"supertest": "^4.0.2"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"testMatch": [
"**/test/**/*.js?(x)"
]
Expand Down

0 comments on commit 471139e

Please sign in to comment.