Skip to content

Commit 9e91c93

Browse files
committed
Meta file updates
1 parent 2e709fd commit 9e91c93

File tree

3 files changed

+49
-33
lines changed

3 files changed

+49
-33
lines changed

.circleci/config.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/node:10
6+
steps:
7+
- checkout
8+
9+
- restore_cache:
10+
name: Restore node_modules cache
11+
keys:
12+
- v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
13+
- v1-node-{{ arch }}-{{ .Branch }}-
14+
- v1-node-{{ arch }}-
15+
16+
- run:
17+
name: Nodejs Version
18+
command: node --version
19+
20+
- run:
21+
name: Yarn Version
22+
command: yarn --version
23+
24+
- run:
25+
name: Install Packages
26+
command: yarn install --frozen-lockfile
27+
28+
- run:
29+
name: Run Tests
30+
command: yarn test --maxWorkers=2
31+
32+
- save_cache:
33+
name: Save node_modules cache
34+
key: v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
35+
paths:
36+
- node_modules
37+
38+
- run:
39+
name: Code Coverage
40+
command: |
41+
yarn add --dev coveralls
42+
yarn test --maxWorkers=2 --coverage --coverageReporters=text-lcov | node_modules/.bin/coveralls

.travis.yml

-26
This file was deleted.

readme.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# bs-react-testing-library
2-
3-
[![Build Status][travis-image]][travis-url]
4-
[![npm][npm-image]][npm-url]
5-
[![Coveralls][coveralls-image]][coveralls-url]
1+
# bs-react-testing-library · [![Build Status][circleci-image]][circleci-url] [![npm][npm-image]][npm-url] [![Coveralls][coveralls-image]][coveralls-url]
62

73
> [BuckleScript](//github.com/BuckleScript/bucklescript) bindings for [react-testing-library](//github.com/kentcdodds/react-testing-library).
84
5+
## Documentation
6+
7+
[**Read the docs**](//testing-library.com/docs/bs-react-testing-library/intro) | [Edit the docs](//github.com/alexkrolick/testing-library-docs)
8+
99
## Installation
1010

1111
```sh
@@ -85,8 +85,8 @@ $ yarn test
8585

8686
MIT © [Neil Kistner](https://neilkistner.com)
8787

88-
[travis-image]: https://img.shields.io/travis/wyze/bs-react-testing-library.svg?style=flat-square
89-
[travis-url]: https://travis-ci.org/wyze/bs-react-testing-library
88+
[circleci-image]: https://img.shields.io/circleci/project/github/wyze/bs-react-testing-library.svg?style=flat-square
89+
[circleci-url]: https://circleci.com/gh/wyze/bs-react-testing-library
9090

9191
[npm-image]: https://img.shields.io/npm/v/bs-react-testing-library.svg?style=flat-square
9292
[npm-url]: https://npm.im/bs-react-testing-library

0 commit comments

Comments
 (0)