mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-25 03:12:15 +00:00
BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await. The API has also been updated according to the latest `interface-transport` version, https://github.com/libp2p/interface-transport/tree/v0.6.0#api.
36 lines
588 B
YAML
36 lines
588 B
YAML
language: node_js
|
|
cache: npm
|
|
sudo: false
|
|
|
|
stages:
|
|
- check
|
|
- test
|
|
- cov
|
|
|
|
node_js:
|
|
- '10'
|
|
- '12'
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
|
|
before_script:
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'; fi
|
|
|
|
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
|
|
os: linux
|
|
script:
|
|
- npx aegir build --bundlesize
|
|
- npx aegir dep-check
|
|
- npm run lint
|
|
|
|
notifications:
|
|
email: false
|