Skip to content

Commit

Permalink
Add travis and codecov (City-of-Helsinki#231)
Browse files Browse the repository at this point in the history
* Add travis and codecov

* Use master branch build status
  • Loading branch information
hukka authored and Rikuoja committed Sep 4, 2017
1 parent 0938f4b commit 8508079
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- "lts/*"
- "node"

cache:
directories:
- node_modules

install:
- npm install

after_success:
- npm run codecov
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Build status](https://travis-ci.org/City-of-Helsinki/linkedevents-ui.svg?branch=master)](https://travis-ci.org/City-of-Helsinki/linkedevents-ui)
[![codecov](https://codecov.io/gh/City-of-Helsinki/linkedevents-ui/branch/master/graph/badge.svg)](https://codecov.io/gh/City-of-Helsinki/linkedevents-ui)

# Installation

```
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"babel-preset-stage-2": "^6.1.18",
"body-parser": "^1.14.1",
"bootstrap": "4.0.0-alpha.2",
"codecov": "^2.3.0",
"connect-history-api-fallback": "^1.1.0",
"cookie-parser": "^1.4.0",
"cookie-session": "^2.0.0-alpha.1",
Expand Down

0 comments on commit 8508079

Please sign in to comment.