-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (59 loc) · 1.46 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
branches:
except:
- /^bitbucket\/.*/
- /^travis\/.*/
language: node_js
cache:
directories:
- 'node_modules'
os:
- linux
# Windows is not supported at all. Bummer.
# Testing on OS X makes no sense, when everything is tested on linux and in browsers
jobs:
include:
# stage test
- node_js: '10' # npm test
- node_js: '12' # npm test
- node_js: '14' # npm test
- stage: browser
node_js: '14'
script: npm run wd:osx-chrome
- node_js: '14'
script: npm run wd:osx-edge
- node_js: '14'
script: npm run wd:osx-firefox
- node_js: '14'
script: npm run wd:osx-safari
- node_js: '14'
script: npm run wd:windows-chrome
- node_js: '14'
script: npm run wd:windows-edge
- node_js: '14'
script: npm run wd:windows-firefox
# stage android
- stage: android
node_js: '14'
script: npm run wd:google_pixel_4xl
- node_js: '14'
script: npm run wd:samsung_galaxy_note4
- node_js: '14'
script: npm run wd:samsung_galaxy_s9
- node_js: '14'
script: npm run wd:samsung_galaxy_s20
- node_js: '14'
script: npm run wd:samsung_galaxy_tab_s6
# stage iOS
- stage: iOS
node_js: '14'
script: npm run wd:ipad_pro
- node_js: '14'
script: npm run wd:iphone_x
- node_js: '14'
script: npm run wd:iphone_11
# stage tag
- stage: tag
node_js: '10'
install: skip
script:
- scripts/travisGithubTag.sh