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

Commit

Permalink
refactor: use aegir
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Apr 15, 2016
1 parent f1900c5 commit 319476f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 17 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
@@ -1,11 +1,17 @@
sudo: false
language: node_js
node_js:
- '4'
- '5'
- 4
- 5

# Make sure we have new NPM.
before_install:
- npm i -g npm
# Workaround for a permissions issue with Travis virtual machine images
- npm install -g npm

script:
- npm run lint
- npm test
- npm run coverage

addons:
firefox: 'latest'
Expand All @@ -14,6 +20,5 @@ before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

script:
- npm run lint
- npm test
after_success:
- npm run coverage-publish
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,7 +6,7 @@ IPFS Blocks JavaScript Implementation
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Travis CI](https://travis-ci.org/ipfs/js-ipfs-blocks.svg?branch=master)](https://travis-ci.org/ipfs/js-ipfs-blocks)
[![Circle CI](https://circleci.com/gh/ipfs/js-ipfs-blocks.svg?style=svg)](https://circleci.com/gh/ipfs/js-ipfs-blocks)
![](https://img.shields.io/badge/coverage-77-yellow.svg?style=flat-square)
[![Coverage Status](https://coveralls.io/repos/github/ipfs/js-ipfs-blocks/badge.svg?branch=master)](https://coveralls.io/github/ipfs/js-ipfs-blocks?branch=master)
[![Dependency Status](https://david-dm.org/ipfs/js-ipfs-blocks.svg?style=flat-square)](https://david-dm.org/ipfs/js-ipfs-blocks)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)

Expand Down
9 changes: 9 additions & 0 deletions circle.yml
@@ -1,3 +1,12 @@
machine:
node:
version: stable

dependencies:
pre:
- google-chrome --version
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
- google-chrome --version
20 changes: 11 additions & 9 deletions package.json
Expand Up @@ -2,15 +2,17 @@
"name": "ipfs-blocks",
"version": "0.1.2",
"description": "JavaScript Implementation of Block and BlockService",
"main": "src/index.js",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"lint": "dignified-lint",
"build": "dignified-build",
"test": "dignified-test",
"test:node": "dignified-test node",
"test:browser": "dignified-test browser",
"release": "dignified-release",
"coverage": "dignified-coverage"
"lint": "aegir-lint",
"build": "aegir-build",
"test": "aegir-test",
"test:node": "aegir-test node",
"test:browser": "aegir-test browser",
"release": "aegir-release",
"coverage": "aegir-coverage",
"coverage-publish": "aegir-coverage publish"
},
"pre-commit": [
"lint",
Expand All @@ -33,10 +35,10 @@
},
"homepage": "https://github.com/ipfs/js-ipfs-blocks#readme",
"devDependencies": {
"aegir": "^2.1.1",
"bs58": "^3.0.0",
"buffer-loader": "0.0.1",
"chai": "^3.5.0",
"dignified.js": "^1.0.0",
"fs-blob-store": "^5.2.1",
"idb-plus-blob-store": "^1.0.0",
"ipfs-repo": "^0.6.1",
Expand Down

0 comments on commit 319476f

Please sign in to comment.