diff --git a/.travis.yml b/.travis.yml index 984658c..b1cfa55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,9 @@ language: node_js node_js: - - 9 - - 8 + - 'node' +cache: + directories: + - node_modules +script: + - yarn build + - yarn test diff --git a/README.md b/README.md index e5436ad..d569172 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ > React hook for accessing mapped state from a Redux store. +[![Build Status](https://travis-ci.com/ianobermiller/redux-react-hook.svg?branch=master)](https://travis-ci.com/ianobermiller/redux-react-hook) [![NPM](https://img.shields.io/npm/v/redux-react-hook.svg)](https://www.npmjs.com/package/redux-react-hook) [![Bundle Size](https://badgen.net/bundlephobia/minzip/redux-react-hook@latest)](https://bundlephobia.com/result?p=redux-react-hook@latest)