forked from ipfs/js-ipfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (48 loc) · 1.25 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: node_js
# TODO: enable when windows is faster on travis, currently causes "No output has been received in the last 10m0s"
# cache: npm
cache: false
stages:
- check
- test
- cov
node_js:
- '10'
- '12'
os:
- linux
- osx
- windows
script: npx nyc -s npx aegir test -t node --timeout 10000 --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 -- -i wrtc -i electron-webrtc
- npm run lint
- stage: test
name: chrome
addons:
chrome: stable
script:
- npx aegir test -t browser
- npx aegir test -t webworker
- stage: test
name: firefox
addons:
firefox: latest
script:
- npx aegir test -t browser -- --browsers FirefoxHeadless
- npx aegir test -t webworker -- --browsers FirefoxHeadless
- stage: test
name: electron-main
script:
- xvfb-run npx aegir test -t electron-main -- --bail --timeout 10000
- stage: test
name: electron-renderer
script:
- xvfb-run npx aegir test -t electron-renderer -- --bail --timeout 10000
notifications:
email: false