Skip to content

Commit 0293897

Browse files
authored
Merge pull request #34 from ipfs/switch-to-travis
chore: switch to travis for ci
2 parents 3e6ffb1 + 66aed72 commit 0293897

File tree

5 files changed

+47
-11
lines changed

5 files changed

+47
-11
lines changed

.travis.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
language: node_js
2+
cache: npm
3+
stages:
4+
- check
5+
- test
6+
- cov
7+
8+
node_js:
9+
- '10'
10+
11+
os:
12+
- linux
13+
- osx
14+
- windows
15+
16+
script: npx nyc -s npm run test:node -- --bail
17+
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
18+
19+
jobs:
20+
include:
21+
- stage: check
22+
script:
23+
- npx aegir commitlint --travis
24+
- npx aegir dep-check
25+
- npm run lint
26+
27+
- stage: test
28+
name: chrome
29+
addons:
30+
chrome: stable
31+
script: npx aegir test -t browser
32+
33+
- stage: test
34+
name: firefox
35+
addons:
36+
firefox: latest
37+
script: npx aegir test -t browser -- --browsers FirefoxHeadless
38+
39+
notifications:
40+
email: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
44
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
55
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
6-
[![Jenkins](https://ci.ipfs.team/buildStatus/icon?job=ipfs/js-ipfs-unixfs/master)](https://ci.ipfs.team/job/ipfs/job/js-ipfs-unixfs/job/master/)
6+
[![Travis CI](https://flat.badgen.net/travis/ipfs/js-ipfs-unixfs)](https://travis-ci.com/ipfs/js-ipfs-unixfs)
77
[![Codecov](https://codecov.io/gh/ipfs/js-ipfs-unixfs/branch/master/graph/badge.svg)](https://codecov.io/gh/ipfs/js-ipfs-unixfs)
88
[![Deps](https://david-dm.org/ipfs/js-ipfs-unixfs.svg?style=flat-square)](https://david-dm.org/ipfs/js-ipfs-unixfs)
99
[![Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)

ci/Jenkinsfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"fs": false
99
},
1010
"scripts": {
11-
"test": "aegir test -f test/index.js",
11+
"test": "aegir test -t node -t browser",
1212
"test:node": "aegir test -t node",
13-
"test:browser": "aegir test -t browser -f test/index.js",
14-
"test:webworker": "aegir test -t webworker -f test/index.js",
13+
"test:browser": "aegir test -t browser",
14+
"test:webworker": "aegir test -t webworker",
1515
"build": "aegir build",
1616
"lint": "aegir lint",
1717
"release": "aegir release",
@@ -36,9 +36,10 @@
3636
},
3737
"homepage": "https://github.com/ipfs/js-ipfs-unixfs#readme",
3838
"devDependencies": {
39-
"aegir": "^17.0.0",
39+
"aegir": "^18.0.0",
4040
"chai": "^4.2.0",
41-
"dirty-chai": "^2.0.1"
41+
"dirty-chai": "^2.0.1",
42+
"safe-buffer": "^5.1.2"
4243
},
4344
"dependencies": {
4445
"protons": "^1.0.1"

test/index.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)