Skip to content

Commit 1b6f819

Browse files
committed
Merge pull request #10 from ipfs/aegir
refactor: Use aegir
2 parents 1758bfa + 1a1fb1a commit 1b6f819

File tree

4 files changed

+41
-19
lines changed

4 files changed

+41
-19
lines changed

.travis.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1+
sudo: false
12
language: node_js
23
node_js:
3-
- '4'
4-
- '5'
5-
- stable
4+
- 4
5+
- 5
66

7-
# always use npm latest
7+
# Make sure we have new NPM.
88
before_install:
9-
- npm i -g npm
9+
- npm install -g npm
10+
11+
script:
12+
- npm run lint
13+
- npm test
14+
- npm run coverage
1015

1116
addons:
1217
firefox: 'latest'
@@ -15,6 +20,5 @@ before_script:
1520
- export DISPLAY=:99.0
1621
- sh -e /etc/init.d/xvfb start
1722

18-
script:
19-
- npm run lint
20-
- npm run test
23+
after_success:
24+
- npm run coverage-publish

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ipfs-unixfs JavaScript Implementation
44
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
55
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
66
[![Build Status](https://travis-ci.org/ipfs/js-ipfs-unixfs.svg?style=flat-square&branch=master)](https://travis-ci.org/ipfs/js-ipfs-unixfs)
7-
![](https://img.shields.io/badge/coverage-%3F%25-yellow.svg?style=flat-square)
7+
[![Coverage Status](https://coveralls.io/repos/github/ipfs/js-ipfs-unixfs/badge.svg?branch=master)](https://coveralls.io/github/ipfs/js-ipfs-unixfs?branch=master)
88
[![Dependency Status](https://david-dm.org/ipfs/js-ipfs-unixfs.svg?style=flat-square)](https://david-dm.org/ipfs/js-ipfs-unixfs)
99
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
1010

circle.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
machine:
2+
node:
3+
version: stable
4+
5+
dependencies:
6+
pre:
7+
- google-chrome --version
8+
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
9+
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
10+
- sudo apt-get update
11+
- sudo apt-get --only-upgrade install google-chrome-stable
12+
- google-chrome --version

package.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
"main": "lib/index.js",
66
"jsnext:main": "src/index.js",
77
"scripts": {
8-
"test": "dignified-test",
9-
"test:node": "dignified-test node",
10-
"test:browser": "dignified-test browser",
11-
"build": "dignified-build",
12-
"lint": "dignified-lint",
13-
"release": "dignified-release",
14-
"release-minor": "dignified-release --minor",
15-
"release-major": "dignified-release --major"
8+
"test": "aegir-test",
9+
"test:node": "aegir-test node",
10+
"test:browser": "aegir-test browser",
11+
"build": "aegir-build",
12+
"lint": "aegir-lint",
13+
"release": "aegir-release",
14+
"release-minor": "aegir-release --minor",
15+
"release-major": "aegir-release --major",
16+
"coverage": "aegir-coverage",
17+
"coverage-publish": "aegir-coverage publish"
1618
},
1719
"repository": {
1820
"type": "git",
@@ -28,11 +30,15 @@
2830
},
2931
"homepage": "https://github.com/ipfs/js-ipfs-unixfs#readme",
3032
"devDependencies": {
33+
"aegir": "^2.1.1",
3134
"chai": "^3.5.0",
32-
"dignified.js": "github:dignifiedquire/dignified.js",
3335
"pre-commit": "^1.1.2"
3436
},
3537
"dependencies": {
3638
"protocol-buffers": "^3.1.5"
37-
}
39+
},
40+
"pre-commit": [
41+
"lint",
42+
"test"
43+
]
3844
}

0 commit comments

Comments
 (0)