diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ad1b792 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +sudo: false +language: node_js +cache: + directories: + - node_modules +node_js: + - "4" + - "5" +before_script: + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start +script: + - npm run test diff --git a/README.md b/README.md index 03566cf..005cb84 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # redux-simple-router -[![npm version](https://img.shields.io/npm/v/redux-simple-router.svg?style=flat-square)](https://www.npmjs.com/package/redux-simple-router) [![npm downloads](https://img.shields.io/npm/dm/redux-simple-router.svg?style=flat-square)](https://www.npmjs.com/package/redux-simple-router) +[![npm version](https://img.shields.io/npm/v/redux-simple-router.svg?style=flat-square)](https://www.npmjs.com/package/redux-simple-router) [![npm downloads](https://img.shields.io/npm/dm/redux-simple-router.svg?style=flat-square)](https://www.npmjs.com/package/redux-simple-router) [![build status](https://img.shields.io/travis/glennr/redux-simple-router/master.svg?style=flat-square)](https://travis-ci.org/glennr/redux-simple-router) **Let react-router do all the work** :sparkles: