File tree Expand file tree Collapse file tree 4 files changed +40
-18
lines changed Expand file tree Collapse file tree 4 files changed +40
-18
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
2
3
node_js :
3
- - ' 4'
4
- - ' 5'
5
- - stable
4
+ - 4
5
+ - 5
6
6
7
- # always use npm latest
7
+ # Make sure we have new NPM.
8
8
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
10
15
11
16
addons :
12
17
firefox : ' latest'
@@ -15,6 +20,5 @@ before_script:
15
20
- export DISPLAY=:99.0
16
21
- sh -e /etc/init.d/xvfb start
17
22
18
- script :
19
- - npm run lint
20
- - npm run test
23
+ after_success :
24
+ - npm run coverage-publish
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ipfs-unixfs JavaScript Implementation
4
4
[ ![ ] ( https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square )] ( http://ipn.io )
5
5
[ ![ ] ( https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square )] ( http://webchat.freenode.net/?channels=%23ipfs )
6
6
[ ![ 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 )
8
8
[ ![ Dependency Status] ( https://david-dm.org/ipfs/js-ipfs-unixfs.svg?style=flat-square )] ( https://david-dm.org/ipfs/js-ipfs-unixfs )
9
9
[ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square )] ( https://github.com/feross/standard )
10
10
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 5
5
"main" : " lib/index.js" ,
6
6
"jsnext:main" : " src/index.js" ,
7
7
"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" ,
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
14
"release-minor" : " dignified-release --minor" ,
15
- "release-major" : " dignified-release --major"
15
+ "release-major" : " dignified-release --major" ,
16
+ "coverage" : " aegir-coverage" ,
17
+ "coverage-publish" : " aegir-coverage publish"
16
18
},
17
19
"repository" : {
18
20
"type" : " git" ,
28
30
},
29
31
"homepage" : " https://github.com/ipfs/js-ipfs-unixfs#readme" ,
30
32
"devDependencies" : {
33
+ "aegir" : " ^2.1.1" ,
31
34
"chai" : " ^3.5.0" ,
32
- "dignified.js" : " github:dignifiedquire/dignified.js" ,
33
35
"pre-commit" : " ^1.1.2"
34
36
},
35
37
"dependencies" : {
36
38
"protocol-buffers" : " ^3.1.5"
37
- }
39
+ },
40
+ "pre-commit" : [
41
+ " lint" ,
42
+ " test"
43
+ ]
38
44
}
You can’t perform that action at this time.
0 commit comments