forked from ipfs/interop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (44 loc) · 1011 Bytes
/
.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
language: node_js
cache: npm
# only build PRs and master
branches:
only:
- master
stages:
- check
- test
- cov
node_js:
- '10'
os:
- linux
- osx
script:
- npm install [email protected] go-ipfs-dep [email protected]
- npx nyc -s npm run test:node -- --bail
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
jobs:
include:
- os: windows
cache: false
- stage: check
script:
- npx aegir commitlint --travis
- npx aegir dep-check
- npm run lint
- stage: test
name: chrome
addons:
chrome: stable
script:
- npm install [email protected] go-ipfs-dep [email protected]
- npx aegir test -t browser
- stage: test
name: firefox
addons:
firefox: latest
script:
- npm install [email protected] go-ipfs-dep [email protected]
- npx aegir test -t browser -- --browsers FirefoxHeadless
notifications:
email: false