diff --git a/.aegir.js b/.aegir.js new file mode 100644 index 0000000..83b7f8c --- /dev/null +++ b/.aegir.js @@ -0,0 +1,5 @@ +'use strict' + +module.exports = { + bundlesize: { maxSize: '140kB' }, +} diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1b67b84 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: node_js +cache: npm + +stages: + - check + - test + - cov + +node_js: + - '10' + +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: + - stage: check + script: + - npx aegir build --bundlesize + - npx aegir dep-check + - npm run lint + +notifications: + email: false diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile deleted file mode 100644 index a7da2e5..0000000 --- a/ci/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -// Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories. -javascript()