Skip to content

Commit 1662ae9

Browse files
committed
Merge pull request #42 from ipfs/aegir
refactor: Use aegir
2 parents f0d708c + 001da10 commit 1662ae9

File tree

4 files changed

+34
-24
lines changed

4 files changed

+34
-24
lines changed

.travis.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1+
sudo: false
12
language: node_js
23
node_js:
3-
- "4"
4-
- "5"
5-
6-
branches:
7-
only:
8-
- master
4+
- 4
5+
- 5
96

7+
# Make sure we have new NPM.
108
before_install:
11-
- npm i -g npm
12-
# Workaround for a permissions issue with Travis virtual machine images
9+
- npm install -g npm
10+
1311
script:
1412
- npm run lint
1513
- npm test
14+
- npm run coverage
15+
16+
addons:
17+
firefox: 'latest'
1618

1719
before_script:
1820
- export DISPLAY=:99.0
1921
- sh -e /etc/init.d/xvfb start
22+
23+
after_success:
24+
- npm run coverage-publish

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ IPFS Repo JavaScript Implementation
77
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
88
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
99
[![Build Status](https://travis-ci.org/ipfs/js-ipfs-repo.svg)](https://travis-ci.org/ipfs/js-ipfs-repo)
10-
![](https://img.shields.io/badge/coverage-90%25-yellow.svg?style=flat-square) [![Dependency Status](https://david-dm.org/diasdavid/js-peer-id.svg?style=flat-square)](https://david-dm.org/ipfs/js-ipfs-repo)
10+
[![Coverage Status](https://coveralls.io/repos/github/ipfs/js-ipfs-repo/badge.svg?branch=master)](https://coveralls.io/github/ipfs/js-ipfs-repo?branch=master) [![Dependency Status](https://david-dm.org/diasdavid/js-peer-id.svg?style=flat-square)](https://david-dm.org/ipfs/js-ipfs-repo)
1111
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
12-
[![dignified.js](https://img.shields.io/badge/uses-dignified.js-blue.svg?style=flat-square)](https://github.com/dignifiedquire/dignified.js)
1312

1413
## Description
1514

circle.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
dependencies:
2-
pre:
3-
- npm i -g npm
4-
51
machine:
62
node:
73
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: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +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-
"coverage": "dignified-coverage",
13-
"lint": "dignified-lint",
14-
"release": "dignified-release",
15-
"release-minor": "dignified-release minor",
16-
"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+
"coverage": "aegir-coverage",
13+
"lint": "aegir-lint",
14+
"release": "aegir-release",
15+
"release-minor": "aegir-release minor",
16+
"release-major": "aegir-release major",
17+
"coverage-publish": "aegir-coverage publish"
1718
},
1819
"repository": {
1920
"type": "git",
@@ -28,12 +29,12 @@
2829
],
2930
"homepage": "https://github.com/ipfs/js-ipfs-repo",
3031
"devDependencies": {
32+
"aegir": "^2.1.0",
3133
"async": "^1.5.2",
3234
"bl": "^1.1.2",
3335
"bs58": "^3.0.0",
3436
"buffer-loader": "^0.0.1",
3537
"chai": "^3.5.0",
36-
"dignified.js": "^1.0.1",
3738
"fs-blob-store": "^5.2.1",
3839
"idb-plus-blob-store": "^1.0.0",
3940
"local-storage-blob-store": "0.0.3",

0 commit comments

Comments
 (0)