2015-09-16 17:43:45 +01:00
|
|
|
language: node_js
|
2019-04-26 16:44:28 +01:00
|
|
|
cache: npm
|
2019-08-08 12:48:13 +02:00
|
|
|
sudo: false
|
2017-09-03 10:01:16 +01:00
|
|
|
|
2019-04-26 16:44:28 +01:00
|
|
|
stages:
|
|
|
|
- check
|
|
|
|
- test
|
|
|
|
- cov
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- '10'
|
2019-08-08 12:48:13 +02:00
|
|
|
- '12'
|
2019-04-26 16:44:28 +01:00
|
|
|
|
2019-08-08 12:48:13 +02:00
|
|
|
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
|
2019-09-16 16:19:47 +01:00
|
|
|
|
2019-04-26 16:44:28 +01:00
|
|
|
script: npx nyc -s npm run test:node -- --bail
|
|
|
|
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
|
|
|
|
|
|
|
|
jobs:
|
2016-11-03 09:22:32 +01:00
|
|
|
include:
|
2019-04-26 16:44:28 +01:00
|
|
|
- stage: check
|
|
|
|
os: linux
|
|
|
|
script:
|
|
|
|
- npx aegir build --bundlesize
|
|
|
|
- npx aegir dep-check
|
|
|
|
- npm run lint
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|