File tree 1 file changed +35
-16
lines changed
1 file changed +35
-16
lines changed Original file line number Diff line number Diff line change 1
-
2
1
language : node_js
2
+ cache : npm
3
+ stages :
4
+ - check
5
+ - test
6
+ - cov
7
+
3
8
node_js :
4
- - node
9
+ - ' 10'
10
+
11
+ os :
12
+ - linux
13
+ - osx
14
+
15
+ script : npx nyc -s npm run test:node -- --bail
16
+ after_success : npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
5
17
6
- # Make sure we have new NPM.
7
- before_install :
8
- - npm install -g npm
18
+ jobs :
19
+ include :
20
+ - os : windows
21
+ cache : false
9
22
10
- script :
11
- - npm run lint
12
- - npm test
13
- - npm run coverage
23
+ - stage : check
24
+ script :
25
+ - npx aegir commitlint --travis
26
+ - npx aegir dep-check
27
+ - npm run lint
14
28
15
- addons :
16
- firefox : ' latest'
29
+ - stage : test
30
+ name : chrome
31
+ addons :
32
+ chrome : stable
33
+ script : npx aegir test -t browser -t webworker
17
34
18
- before_script :
19
- - export DISPLAY=:99.0
20
- - sh -e /etc/init.d/xvfb start
35
+ - stage : test
36
+ name : firefox
37
+ addons :
38
+ firefox : latest
39
+ script : npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless
21
40
22
- after_success :
23
- - npm run coverage-publish
41
+ notifications :
42
+ email : false
You can’t perform that action at this time.
0 commit comments