Skip to content

Commit b60ed75

Browse files
committed
add travis
1 parent b6f3d78 commit b60ed75

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-prefetching-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-prefetching-example.svg?branch=master)](https://travis-ci.org/the-road-to-graphql/react-apollo-client-prefetching-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. As example **Apollo Client's prefetching feature** is implemented.
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)