Skip to content

Commit 2a71f36

Browse files
committed
add travis
1 parent dda9ebe commit 2a71f36

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-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-example.svg?branch=master)](https://travis-ci.org/the-road-to-graphql/react-apollo-client-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 minimal React application using Apollo Client with GitHub's GraphQL API. On the side, React's local state is still used for local data whereas Apollo Client with its queries and mutations is used for remote data. [Read more about it here.](https://www.robinwieruch.de/react-apollo-client-example)
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"start": "react-scripts start",
1818
"build": "react-scripts build",
19-
"test": "react-scripts test --env=jsdom",
19+
"test": "react-scripts test --env=jsdom --passWithNoTests",
2020
"eject": "react-scripts eject"
2121
}
2222
}

src/App.test.js

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

0 commit comments

Comments
 (0)