mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-04 22:12:00 +08:00
CB-14072 Update supported Node.js versions
This commit is contained in:
parent
6dad25668c
commit
d3c80ea5d5
@ -10,6 +10,10 @@ env:
|
|||||||
global:
|
global:
|
||||||
# Keep gradle from crapping all over the log
|
# Keep gradle from crapping all over the log
|
||||||
- TERM=dumb
|
- TERM=dumb
|
||||||
|
matrix:
|
||||||
|
- nodejs_version=6
|
||||||
|
- nodejs_version=8
|
||||||
|
- nodejs_version=10
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install a sdkmanager version that supports the --licenses switch and
|
# Install a sdkmanager version that supports the --licenses switch and
|
||||||
@ -18,7 +22,7 @@ install:
|
|||||||
- yes | sdkmanager tools > /dev/null
|
- yes | sdkmanager tools > /dev/null
|
||||||
- yes | sdkmanager --licenses > /dev/null
|
- yes | sdkmanager --licenses > /dev/null
|
||||||
|
|
||||||
- nvm install 6
|
- nvm install $nodejs_version
|
||||||
- npm install
|
- npm install
|
||||||
- npm install -g codecov
|
- npm install -g codecov
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@ environment:
|
|||||||
SDK_TOOLS_URL: https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip
|
SDK_TOOLS_URL: https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
- nodejs_version: 4
|
|
||||||
- nodejs_version: 6
|
- nodejs_version: 6
|
||||||
- nodejs_version: 8
|
- nodejs_version: 8
|
||||||
|
- nodejs_version: 10
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install Android SDK Tools
|
# Install Android SDK Tools
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
"rewire": "^2.1.3"
|
"rewire": "^2.1.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4.0.0"
|
"node": ">=6.0.0"
|
||||||
},
|
},
|
||||||
"engineStrict": true
|
"engineStrict": true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user