Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Commit 0d03f6a

Browse files
committed
[CI] Update to CircleCI 2
1 parent e3858c4 commit 0d03f6a

4 files changed

Lines changed: 22 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/react-native-infinite-scroll-view
5+
docker:
6+
- image: circleci/node:10
7+
steps:
8+
- checkout
9+
- restore_cache:
10+
key: v1-node_modules
11+
- run:
12+
name: Install npm packages
13+
command: yarn
14+
- save_cache:
15+
key: v1-node_modules
16+
paths:
17+
- node_modules
18+
- run:
19+
name: Lint
20+
command: yarn lint --max-warnings 0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# InfiniteScrollView
1+
# InfiniteScrollView [![CircleCI](https://circleci.com/gh/expo/react-native-infinite-scroll-view.svg?style=svg)](https://circleci.com/gh/expo/react-native-infinite-scroll-view)
22

33
InfiniteScrollView is a React Native scroll view that notifies you as the scroll offset approaches the bottom. You can instruct it to display a loading indicator while you load more content. This is a common design in feeds. InfiniteScrollView also supports horizontal scroll views.
44

circle.yml

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

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "An infinitely scrolling view that notifies you as the scroll offset approaches the bottom",
55
"main": "InfiniteScrollView.js",
66
"scripts": {
7-
"lint": "eslint .",
8-
"test": "eslint ."
7+
"lint": "eslint ."
98
},
109
"repository": {
1110
"type": "git",

0 commit comments

Comments
 (0)