Skip to content

Commit 05c7d10

Browse files
committed
migrate from Travis CI into Circle CI
1 parent b025d87 commit 05c7d10

File tree

3 files changed

+70
-15
lines changed

3 files changed

+70
-15
lines changed

.circleci/config.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
version: 2.1
2+
3+
jobs:
4+
build_linux:
5+
docker:
6+
- image: circleci/node:14
7+
steps:
8+
- checkout
9+
- run:
10+
name: Update NPM
11+
command: sudo npm install -g npm@latest
12+
- run:
13+
name: Install Dependencies
14+
command: |
15+
sudo npm install -g grunt-cli codecov
16+
- restore_cache:
17+
key: node-cache-{{ checksum "package-lock.json" }}
18+
- run:
19+
name: Install NPM packages
20+
command: npm ci
21+
- save_cache:
22+
key: node-cache-{{ checksum "package-lock.json" }}
23+
paths:
24+
- ./node_modules
25+
- run:
26+
name: Run tests
27+
command: grunt ci
28+
- run:
29+
name: Push Coverage
30+
command: codecov
31+
build_mac:
32+
macos:
33+
xcode: 12.3.0
34+
steps:
35+
- checkout
36+
- run:
37+
name: Update NPM
38+
command: sudo npm install -g npm@latest
39+
- run:
40+
name: Install Dependencies
41+
command: |
42+
sudo npm install -g grunt-cli codecov
43+
- restore_cache:
44+
key: node-cache-{{ checksum "package-lock.json" }}
45+
- run:
46+
name: Install NPM packages
47+
command: npm ci
48+
- save_cache:
49+
key: node-cache-{{ checksum "package-lock.json" }}
50+
paths:
51+
- ./node_modules
52+
- run:
53+
name: Run tests
54+
command: grunt ci
55+
56+
workflows:
57+
version: 2
58+
build:
59+
jobs:
60+
- build_linux:
61+
filters:
62+
branches:
63+
ignore:
64+
- gh-pages
65+
- build_mac:
66+
filters:
67+
branches:
68+
ignore:
69+
- gh-pages

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[lzwCompress.js](http://floydpink.github.io/lzwCompress.js/)
22
==============
33

4-
[![npm](https://img.shields.io/npm/v/lzwcompress.svg)](https://www.npmjs.com/package/lzwcompress) [![Travis](https://img.shields.io/travis/floydpink/lzwCompress.js.svg)](https://travis-ci.org/floydpink/lzwCompress.js) [![Appveyor](https://ci.appveyor.com/api/projects/status/o9414h87kwob2equ/branch/main?svg=true)](https://ci.appveyor.com/project/floydpink/lzwcompress-js/branch/main) [![Coverage Status](https://coveralls.io/repos/github/floydpink/lzwCompress.js/badge.svg?branch=main)](https://coveralls.io/github/floydpink/lzwCompress.js?branch=main) [![codecov](https://codecov.io/gh/floydpink/lzwCompress.js/branch/main/graph/badge.svg)](https://codecov.io/gh/floydpink/lzwCompress.js) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffloydpink%2FlzwCompress.js.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffloydpink%2FlzwCompress.js?ref=badge_shield)
4+
[![npm](https://img.shields.io/npm/v/lzwcompress.svg)](https://www.npmjs.com/package/lzwcompress) [![CircleCI](https://img.shields.io/circleci/build/github/floydpink/lzwCompress.js/main)](https://app.circleci.com/pipelines/github/floydpink/lzwCompress.js?branch=main) [![Appveyor](https://ci.appveyor.com/api/projects/status/o9414h87kwob2equ/branch/main?svg=true)](https://ci.appveyor.com/project/floydpink/lzwcompress-js/branch/main) [![Coverage Status](https://coveralls.io/repos/github/floydpink/lzwCompress.js/badge.svg?branch=main)](https://coveralls.io/github/floydpink/lzwCompress.js?branch=main) [![codecov](https://codecov.io/gh/floydpink/lzwCompress.js/branch/main/graph/badge.svg)](https://codecov.io/gh/floydpink/lzwCompress.js) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffloydpink%2FlzwCompress.js.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffloydpink%2FlzwCompress.js?ref=badge_shield)
55

66
> Lossless LZW compression/decompression implemented in JavaScript for strings/JSON/JS objects.
77

0 commit comments

Comments
 (0)