UNPKG

760 BYAMLView Raw
1language: node_js
2branches:
3 only:
4 - master
5 - /^release\/.*$/
6cache: npm
7stages:
8 - check
9 - test
10 - cov
11
12node_js:
13 - '12'
14
15os:
16 - linux
17 - osx
18 - windows
19
20script: npx nyc -s npm run test:node -- --bail
21after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
22
23jobs:
24 include:
25 - stage: check
26 script:
27 - npx aegir commitlint --travis
28 - npx aegir dep-check
29 - npm run lint
30
31 - stage: test
32 name: chrome
33 addons:
34 chrome: stable
35 script: npx aegir test -t browser -t webworker
36
37 - stage: test
38 name: firefox
39 addons:
40 firefox: latest
41 script: npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless
42
43notifications:
44 email: false