Skip to content

Commit

Permalink
Run test and flow check on travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cjies committed May 23, 2018
1 parent 200d720 commit be4fe0b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js

node_js:
- stable

cache: yarn

install:
- yarn

script:
- yarn flow
- yarn test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# redux-duck-immer

[![Build status](https://img.shields.io/travis/cjies/redux-duck-immer.svg?style=flat-square)](https://travis-ci.org/cjies/redux-duck-immer)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

Inspired by [redux-duck](https://github.com/PlatziDev/redux-duck).
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"precommit": "pretty-quick --staged",
"prebuild": "rm -rf ./dist",
"build": "rollup -c && cpx \"src/*.{d.ts,js.flow}\" dist --verbose",
"test": "NODE_ENV=test ava"
"test": "NODE_ENV=test ava",
"flow": "flow check"
},
"dependencies": {
"immer": "^1.3.0"
Expand Down

0 comments on commit be4fe0b

Please sign in to comment.