MOBILE-3401 travis: Avoid executing check when deploying
parent
636906e522
commit
efabd3e1d0
|
@ -39,7 +39,7 @@ before_script:
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: check
|
- stage: check
|
||||||
if: NOT branch =~ /(master|integration|desktop)$/
|
if: NOT branch =~ /(master|integration|desktop)$/ AND env(DEPLOY) IS blank
|
||||||
os: linux
|
os: linux
|
||||||
script: npm run build --bailOnLintError true --typeCheckOnLint true
|
script: npm run build --bailOnLintError true --typeCheckOnLint true
|
||||||
- stage: mirror
|
- stage: mirror
|
||||||
|
@ -57,6 +57,8 @@ jobs:
|
||||||
dist: trusty
|
dist: trusty
|
||||||
group: edge
|
group: edge
|
||||||
language: android
|
language: android
|
||||||
|
env:
|
||||||
|
- BUILD_PLATFORM='android'
|
||||||
before_install:
|
before_install:
|
||||||
- nvm install 11
|
- nvm install 11
|
||||||
- node --version
|
- node --version
|
||||||
|
@ -70,6 +72,8 @@ jobs:
|
||||||
if: env(DEPLOY) IS NOT blank AND ((env(DEPLOY) = 1 AND NOT branch = desktop) OR (env(DEPLOY) IN (2,3) AND tag IS NOT blank))
|
if: env(DEPLOY) IS NOT blank AND ((env(DEPLOY) = 1 AND NOT branch = desktop) OR (env(DEPLOY) IN (2,3) AND tag IS NOT blank))
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode11.3
|
osx_image: xcode11.3
|
||||||
|
env:
|
||||||
|
- BUILD_PLATFORM='ios'
|
||||||
script: scripts/aot.sh
|
script: scripts/aot.sh
|
||||||
- stage: build
|
- stage: build
|
||||||
name: "Build Linux"
|
name: "Build Linux"
|
||||||
|
@ -78,6 +82,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||||
|
- BUILD_PLATFORM='linux'
|
||||||
script: scripts/aot.sh
|
script: scripts/aot.sh
|
||||||
- stage: build
|
- stage: build
|
||||||
name: "Build MacOS"
|
name: "Build MacOS"
|
||||||
|
@ -87,6 +92,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||||
|
- BUILD_PLATFORM='osx'
|
||||||
script: scripts/aot.sh
|
script: scripts/aot.sh
|
||||||
- stage: build
|
- stage: build
|
||||||
name: "Build Windows"
|
name: "Build Windows"
|
||||||
|
@ -97,4 +103,5 @@ jobs:
|
||||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||||
- ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true
|
- ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true
|
||||||
- DEBUG=electron-windows-store
|
- DEBUG=electron-windows-store
|
||||||
|
- BUILD_PLATFORM='windows'
|
||||||
script: scripts/aot.sh
|
script: scripts/aot.sh
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
"nl.kingsquare.cordova.background-audio": {},
|
"nl.kingsquare.cordova.background-audio": {},
|
||||||
"phonegap-plugin-push": {
|
"phonegap-plugin-push": {
|
||||||
"ANDROID_SUPPORT_V13_VERSION": "27.+",
|
"ANDROID_SUPPORT_V13_VERSION": "27.+",
|
||||||
"FCM_VERSION": "17.0.+"
|
"FCM_VERSION": "17.5.+"
|
||||||
},
|
},
|
||||||
"cordova-plugin-geolocation": {
|
"cordova-plugin-geolocation": {
|
||||||
"GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
|
"GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
|
||||||
|
|
Loading…
Reference in New Issue