MOBILE-3320 travis: Update travis.yml

main
Pau Ferrer Ocaña 2021-07-02 14:10:22 +02:00
parent e6ca385312
commit f0490e866f
1 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,6 @@ git:
depth: 3 depth: 3
before_cache: before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
@ -14,8 +13,6 @@ cache:
npm: true npm: true
directories: directories:
- $HOME/.npm - $HOME/.npm
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.gradle/caches/ - $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/ - $HOME/.gradle/wrapper/
- $HOME/.android/build-cache - $HOME/.android/build-cache
@ -38,7 +35,7 @@ jobs:
include: include:
- stage: build - stage: build
name: "Build Android" name: "Build Android"
if: env(DEPLOY) = 1 if: env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank)
language: android language: android
android: android:
components: components:
@ -52,9 +49,9 @@ jobs:
- stage: build - stage: build
name: "Build iOS" name: "Build iOS"
language: node_js language: node_js
if: env(DEPLOY) = 1 AND env(BUILD_IOS) = 1 if: env(BUILD_IOS) = 1 AND (env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank))
os: osx os: osx
osx_image: xcode12.4 osx_image: xcode12.5
- stage: test - stage: test
name: "End to end tests (mod_forum and mod_messages)" name: "End to end tests (mod_forum and mod_messages)"
services: services: