Skip to content

Commit

Permalink
chore: add CI and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
CCharlieLi committed Oct 12, 2020
1 parent a6b3c1b commit e0e9345
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
@@ -0,0 +1,2 @@
service_name: travis-pro
repo_token: 9YzSD86d65ZJ9CXzFAN5JItIkKsKPtLac
23 changes: 23 additions & 0 deletions .travis.yml
@@ -0,0 +1,23 @@
sudo: required
language: node_js
cache:
yarn: true
notifications:
email: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
services:
- docker
env:
global:
- CXX=g++-4.8
- NODE_ENV="test"
node_js:
- "10"
- "12"
script:
- yarn test-coveralls
9 changes: 9 additions & 0 deletions README.md
@@ -0,0 +1,9 @@
# Percentile

[![Coverage Status](https://coveralls.io/repos/github/CCharlieLi/percentile/badge.svg?branch=master)](https://coveralls.io/github/CCharlieLi/percentile?branch=master)

## How to use

## How to test

## [License]()
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"test": "make test",
"build": "tsc",
"pretest": "yarn build",
"test-coveralls": "make test-coveralls"
},
"repository": {
Expand Down

0 comments on commit e0e9345

Please sign in to comment.