Skip to content

Commit

Permalink
chore: switch to travis ci (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun authored Jul 5, 2019
1 parent d6455bc commit 4eab302
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 3 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: node_js
cache: npm
stages:
- check
- test
- cov

node_js:
- '10'
- '12'

os:
- linux
- osx

script: npx nyc -s npm run test:node -- --bail
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov

jobs:
include:
- os: windows
cache: false

- stage: check
script:
- npx aegir dep-check
- npm run lint

- stage: test
name: chrome
addons:
chrome: stable
script: npx aegir test -t browser -t webworker

- stage: test
name: firefox
addons:
firefox: latest
script: npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless

notifications:
email: false
1 change: 0 additions & 1 deletion ci/Jenkinsfile

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"coverage": "aegir coverage"
},
"devDependencies": {
"aegir": "^15.2.0",
"aegir": "^19.0.5",
"chai": "^4.2.0",
"cids": "~0.5.5",
"go-ipfs-dep": "~0.4.17",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class DelegatedContentRouting {
cb()
}),
(cb) => {
this.refs(key.toBaseEncodedString(), {recursive: true}, cb)
this.refs(key.toBaseEncodedString(), { recursive: true }, cb)
}
], (err) => callback(err))
}
Expand Down

0 comments on commit 4eab302

Please sign in to comment.