Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Chore/travis #38

Merged
merged 3 commits into from
Feb 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .npmignore

This file was deleted.

43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
language: node_js
cache: npm
stages:
- check
- test
- cov

node_js:
- '10'

os:
- linux
- osx

script: npx nyc -s npm run test:node -- --bail
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov

jobs:
include:
- os: windows
filter_secrets: false
cache: false

- stage: check
script:
- npx aegir commitlint --travis
- npx aegir dep-check
- npm run lint

- stage: test
name: chrome
addons:
chrome: stable
script: npx aegir test -t browser -t webworker

- stage: test
name: firefox
addons:
firefox: latest
script: npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless

notifications:
email: false
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![](https://img.shields.io/badge/project-multiformats-blue.svg?style=flat-square)](https://github.com/multiformats/multiformats)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](https://webchat.freenode.net/?channels=%23ipfs)
[![Coverage Status](https://coveralls.io/repos/github/multiformats/js-multihashing-async/badge.svg?branch=master)](https://coveralls.io/github/multiformats/js-multihashing-async?branch=master)
[![Travis CI](https://flat.badgen.net/travis/ipfs/js-multihashing-async)](https://travis-ci.com/ipfs/js-multihashing-async)
[![Dependency Status](https://david-dm.org/multiformats/js-multihashing-async.svg?style=flat-square)](https://david-dm.org/multiformats/js-multihashing-async)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
[![](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
Expand Down
2 changes: 0 additions & 2 deletions ci/Jenkinsfile

This file was deleted.

29 changes: 11 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@
"name": "multihashing-async",
"version": "0.5.2",
"description": "multiple hash functions",
"keywords": [
"multihash"
],
"homepage": "https://github.com/multiformats/js-multihashing-async",
"bugs": "https://github.com/multiformats/js-multihashing-async/issues",
"license": "MIT",
"leadMaintainer": "Hugo Dias <mail@hugodias.me>",
"files": [
"src",
"dist"
],
"main": "src/index.js",
"browser": {
"./src/crypto-sha1-2.js": "./src/crypto-sha1-2-browser.js"
},
"repository": "github:multiformats/js-multihashing-async",
"scripts": {
"test": "aegir test",
"test:browser": "aegir test -t browser",
Expand All @@ -17,25 +28,8 @@
"release-minor": "aegir release --type minor --docs",
"release-major": "aegir release --type major --docs",
"build": "aegir build",
"coverage": "aegir coverage",
"coverage-publish": "aegir coverage publish",
"bench": "node benchmarks/hash.js"
},
"pre-push": [
"lint",
"test"
],
"repository": {
"type": "git",
"url": "git://github.com/multiformats/js-multihashing-async.git"
},
"keywords": [
"multihash"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/multiformats/js-multihashing-async/issues"
},
"dependencies": {
"blakejs": "^1.1.0",
"js-sha3": "~0.8.0",
Expand All @@ -53,7 +47,6 @@
"node": ">=6.0.0",
"npm": ">=3.0.0"
},
"homepage": "https://github.com/multiformats/js-multihashing-async",
"contributors": [
"André Cruz <andremiguelcruz@msn.com>",
"David Dias <daviddias.p@gmail.com>",
Expand Down