|
|
|
|
18
|
const headless$ = android ? headless ? `--headless` : `` : ``;
|
18
|
const headless$ = android ? headless ? `--headless` : `` : ``;
|
19
|
const workers = multi ? 3 : 1;
|
19
|
const workers = multi ? 3 : 1;
|
20
|
|
20
|
|
21
|
- if (platform === 'android') {
|
|
|
|
|
21
|
+ if (platform === 'android' && process.env.CI) {
|
22
|
const sdkmanager = '/usr/local/share/android-sdk/tools/bin/sdkmanager';
|
22
|
const sdkmanager = '/usr/local/share/android-sdk/tools/bin/sdkmanager';
|
23
|
exec.execSync(`echo y | ${sdkmanager} --update && echo y | ${sdkmanager} --licenses`);
|
23
|
exec.execSync(`echo y | ${sdkmanager} --update && echo y | ${sdkmanager} --licenses`);
|
24
|
}
|
24
|
}
|