Skip to content

Commit 32b41e9

Browse files
committed
add travis
1 parent ade5170 commit 32b41e9

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: node_js
2+
3+
node_js:
4+
- stable
5+
6+
install:
7+
- npm install
8+
9+
script:
10+
- npm test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# react-apollo-client-apollo-cache-redux-example
22

3-
[![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)
3+
[![Build Status](https://travis-ci.org/the-road-to-graphql/react-apollo-client-apollo-cache-redux-example.svg?branch=master)](https://travis-ci.org/the-road-to-graphql/react-apollo-client-apollo-cache-redux-example) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)
44

55
A React application using Apollo Client with [apollo-cache-redux](https://github.com/rportugal/apollo-cache-redux) for state management. Rather than having Apollo Client (apollo-cache-inmemory) and Redux side by side, this library attempts to **combine both worlds (Apollo, Redux) to manage local and remote state**. [Read more about it here](https://www.robinwieruch.de/react-redux-apollo-client-state-management-tutorial).
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"scripts": {
1919
"start": "react-scripts start",
2020
"build": "react-scripts build",
21-
"test": "react-scripts test --env=jsdom",
21+
"test": "react-scripts test --env=jsdom --passWithNoTests",
2222
"eject": "react-scripts eject"
2323
},
2424
"browserslist": [

src/App.test.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)