Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7 from taskworld/lukyth/circleci2
Browse files Browse the repository at this point in the history
Move from travisci to circleci
  • Loading branch information
lukyth committed Mar 14, 2018
2 parents 8e1c691 + 401b40b commit 4670d0f
Show file tree
Hide file tree
Showing 5 changed files with 604 additions and 31 deletions.
52 changes: 52 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,52 @@
version: 2
jobs:
test:
docker:
- image: circleci/node:8
working_directory: ~/react-warp-portal
steps:
- checkout
- restore_cache:
keys:
- npm-cache-{{ checksum "package.json" }}
- npm-cache-
- run: npm install
- save_cache:
key: npm-cache-{{ checksum "package.json" }}
paths:
- node_modules
- run:
command: |
npm run test:coverage
cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
deploy:
docker:
- image: circleci/node:8
steps:
- checkout
- restore_cache:
keys:
- npm-cache-{{ checksum "package.json" }}
- npm-cache-
- run: npm install
- save_cache:
key: npm-cache-{{ checksum "package.json" }}
paths:
- node_modules
- run:
command: npm publish

workflows:
version: 2
test-deploy:
jobs:
- test
- deploy:
requires:
- test
filters:
branches:
only: master
tags:
only: /v\d+\.\d+\.\d+/
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions README.md
@@ -1,6 +1,5 @@
# <img src="https://i.imgur.com/7Tv7sKw.png" alt="react-warp-portal" />

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Expand Down Expand Up @@ -56,9 +55,6 @@ You can access `this.context.warpSource` to obtain the DOM node.
This allows positioning such as tooltips.


[build-badge]: https://img.shields.io/travis/taskworld/react-warp-portal/master.svg?style=flat-square
[build]: https://travis-ci.org/taskworld/react-warp-portal

[npm-badge]: https://img.shields.io/npm/v/react-warp-portal.svg?style=flat-square
[npm]: https://www.npmjs.org/package/react-warp-portal

Expand Down

0 comments on commit 4670d0f

Please sign in to comment.