mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[tests][ci] update warmup script
This commit is contained in:
@@ -32,11 +32,11 @@ module.exports.sleep = function sleep(duration) {
|
||||
* @return {string}
|
||||
*/
|
||||
module.exports.getReactNativePlatform = function getReactNativePlatform() {
|
||||
if (process.env.CIRCLE_JOB) {
|
||||
if (process.env.CIRCLE_JOB.includes('android')) {
|
||||
if (process.env.TEAMCITY_PROJECT_NAME) {
|
||||
if (process.env.TEAMCITY_BUILDCONF_NAME.includes('android')) {
|
||||
return 'android';
|
||||
}
|
||||
if (process.env.CIRCLE_JOB.includes('ios')) {
|
||||
if (process.env.TEAMCITY_BUILDCONF_NAME.includes('ios')) {
|
||||
return 'ios';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user