This repository was archived by the owner on Apr 29, 2020. It is now read-only.
File tree 5 files changed +32
-10
lines changed 5 files changed +32
-10
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,5 @@ build/Release
24
24
25
25
# Optional REPL history
26
26
.node_repl_history
27
+
28
+ test
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 '
4
+ - 4
5
+ - 5
5
6
7
+ # Make sure we have new NPM.
6
8
before_install :
7
- - npm i -g npm
8
- # Workaround for a permissions issue with Travis virtual machine images
9
+ - npm install -g npm
10
+
11
+ script :
12
+ - npm run lint
13
+ - npm test
14
+ - npm run coverage
9
15
10
16
addons :
11
17
firefox : ' latest'
@@ -14,6 +20,5 @@ before_script:
14
20
- export DISPLAY=:99.0
15
21
- sh -e /etc/init.d/xvfb start
16
22
17
- script :
18
- - npm run lint
19
- - npm test
23
+ after_success :
24
+ - npm run coverage-publish
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ js-libp2p-ipfs
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-libp2p-ipfs.svg?style=flat-square )] ( https://travis-ci.org/ipfs/js-libp2p-ipfs )
7
- ![ ] ( https://img.shields. io/badge/coverage-%3F-yellow .svg?style=flat-square )
7
+ [ ![ Coverage Status ] ( https://coveralls. io/repos/github/ipfs/js-libp2p-ipfs/badge .svg?branch=master )] ( https://coveralls.io/github/ipfs/js-libp2p-ipfs?branch=master )
8
8
[ ![ Dependency Status] ( https://david-dm.org/ipfs/js-libp2p-ipfs.svg?style=flat-square )] ( https://david-dm.org/ipfs/js-libp2p-ipfs )
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
1
machine :
2
2
node :
3
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 10
10
"lint" : " aegir-lint" ,
11
11
"release" : " aegir-release node" ,
12
12
"release-minor" : " aegir-release node --minor" ,
13
- "release-major" : " aegir-release node --major"
13
+ "release-major" : " aegir-release node --major" ,
14
+ "coverage" : " aegir-coverage" ,
15
+ "coverage-publish" : " aegir-coverage publish"
14
16
},
15
17
"repository" : {
16
18
"type" : " git" ,
17
19
"url" : " git+https://github.com/ipfs/js-libp2p-ipfs.git"
18
20
},
21
+ "pre-commit" : [
22
+ " lint" ,
23
+ " test"
24
+ ],
19
25
"keywords" : [
20
26
" IPFS"
21
27
],
27
33
"homepage" : " https://github.com/ipfs/js-libp2p-ipfs#readme" ,
28
34
"devDependencies" : {
29
35
"chai" : " ^3.5.0" ,
30
- "aegir" : " ^2.0.0 " ,
36
+ "aegir" : " ^2.1.1 " ,
31
37
"pre-commit" : " ^1.1.2"
32
38
},
33
39
"dependencies" : {
You can’t perform that action at this time.
0 commit comments