@@ -6,78 +6,61 @@ addons:
66
77env :
88 global :
9- - SAUCE_USERNAME=snay
10- - TRAVIS_NODE_VERSION="4.2"
9+ - SAUCE_USERNAME=snay
10+ - TRAVIS_NODE_VERSION=6
11+ - ANDROID_API_LEVEL=28
12+ - ANDROID_BUILD_TOOLS_VERSION=28.0.3
13+
14+ language : node_js
15+ node_js : 6
16+
17+ # anchor/alias: https://medium.com/@tommyvn/travis-yml-dry-with-anchors-8b6a3ac1b027
18+ _android : &_android
19+ language : android
20+ os : linux
21+ jdk : oraclejdk8
22+ android :
23+ components :
24+ - tools
25+ - build-tools-$ANDROID_BUILD_TOOLS_VERSION
26+ - android-$ANDROID_API_LEVEL
27+ licenses :
28+ - ' android-sdk-preview-license-.+'
29+ - ' android-sdk-license-.+'
30+ - ' google-gdk-license-.+'
1131
1232matrix :
1333 include :
14- - env : PLATFORM=browser-chrome
15- os : linux
16- language : node_js
17- node_js : ' 4.2'
18- - env : PLATFORM=browser-firefox
19- os : linux
20- language : node_js
21- node_js : ' 4.2'
22- - env : PLATFORM=browser-safari
23- os : linux
24- language : node_js
25- node_js : ' 4.2'
26- - env : PLATFORM=browser-edge
27- os : linux
28- language : node_js
29- node_js : ' 4.2'
30- # iOS 9 not supported by iOS WKWebView implementation
31- # - env: PLATFORM=ios-9.3
32- # os: osx
33- # osx_image: xcode8.3
34- # language: node_js
35- # node_js: '4.2'
36- - env : PLATFORM=ios-10.0
37- os : osx
38- osx_image : xcode8.3
39- language : node_js
40- node_js : ' 4.2'
41- - env : PLATFORM=android-4.4
42- os : linux
43- language : android
44- jdk : oraclejdk8
45- android :
46- components :
47- - tools
48- - platform-tools
49- - tools
50- - build-tools-26.0.2
51- - env : PLATFORM=android-5.1
52- os : linux
53- language : android
54- jdk : oraclejdk8
55- android :
56- components :
57- - tools
58- - platform-tools
59- - tools
60- - build-tools-26.0.2
61- - env : PLATFORM=android-6.0
62- os : linux
63- language : android
64- jdk : oraclejdk8
65- android :
66- components :
67- - tools
68- - platform-tools
69- - tools
70- - build-tools-26.0.2
71- - env : PLATFORM=android-7.0
72- os : linux
73- language : android
74- jdk : oraclejdk8
75- android :
76- components :
77- - tools
78- - platform-tools
79- - tools
80- - build-tools-26.0.2
34+ # # one local test, without saucelabs
35+ # - env: PLATFORM=local
36+ # os: osx
37+ # osx_image: xcode9
38+
39+ # many tests with saucelabs
40+
41+ - env : PLATFORM=browser-chrome
42+ - env : PLATFORM=browser-firefox
43+ - env : PLATFORM=browser-safari
44+ - env : PLATFORM=browser-edge
45+
46+ - env : PLATFORM=ios-10.0
47+ os : osx
48+ osx_image : xcode9
49+
50+ - env : PLATFORM=android-4.4
51+ << : *_android
52+ - env : PLATFORM=android-5.1
53+ << : *_android
54+ - env : PLATFORM=android-6.0
55+ << : *_android
56+ - env : PLATFORM=android-7.0
57+ << : *_android
58+ - env : PLATFORM=android-7.1
59+ << : *_android
60+ - env : PLATFORM=android-8.0
61+ << : *_android
62+ - env : PLATFORM=android-8.1
63+ << : *_android
8164
8265before_install :
8366- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm
0 commit comments