Browse Source

Drop travis build, switch to circle-ci (#2260)

* chore: drop travis build

* chore: send coverage from circle ci
pull/2268/head
Yoshiya Hinosawa 7 years ago committed by GitHub
parent
commit
20d500b73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .circleci/config.yml
  2. 25
      .travis.yml
  3. 3
      README.md

9
.circleci/config.yml

@ -17,13 +17,10 @@ jobs:
echo "$(google-chrome --version)" echo "$(google-chrome --version)"
- restore_cache: - restore_cache:
key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }} key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
- run: - run: npm install
name: Install dependencies
command: npm install
- save_cache: - save_cache:
key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }} key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
paths: paths:
- ./node_modules - ./node_modules
- run: - run: npm test
name: Run Tests - run: npm run codecov
command: npm run test

25
.travis.yml

@ -1,25 +0,0 @@
language: node_js
node_js:
- 6
dist: trusty
sudo: false
addons:
apt:
packages:
- google-chrome-stable
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- sleep 3
after_success:
- npm run codecov
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b90b361c0bc91a778bcc
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always

3
README.md

@ -1,7 +1,6 @@
# c3 # c3
[![Build Status](https://travis-ci.org/c3js/c3.svg?branch=master)](https://travis-ci.org/c3js/c3) [![CircleCI](https://circleci.com/gh/c3js/c3.svg?style=svg)](https://circleci.com/gh/c3js/c3)
[![devDependency Status](https://david-dm.org/c3js/c3/dev-status.svg)](https://david-dm.org/c3js/c3#info=devDependencies)
[![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/c3js/c3/blob/master/LICENSE) [![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/c3js/c3/blob/master/LICENSE)
[![codecov.io](https://codecov.io/github/c3js/c3/coverage.svg?branch=master)](https://codecov.io/github/c3js/c3?branch=master) [![codecov.io](https://codecov.io/github/c3js/c3/coverage.svg?branch=master)](https://codecov.io/github/c3js/c3?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/c3js/c3.svg)](https://greenkeeper.io/) [![Greenkeeper badge](https://badges.greenkeeper.io/c3js/c3.svg)](https://greenkeeper.io/)

Loading…
Cancel
Save