From 8ef32eba0cc4d6241c2c2fe536d536b1c199b191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 12 May 2016 15:23:30 +0100 Subject: [PATCH] CI: Move variables to connectedCheck AVD_SDK is only used there. And MALLOC_ARENA_MAX was added when the android-17 emulator was added, so it should stay there. --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index edf0f8cca..f676a6196 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,11 +5,6 @@ cache: - .gradle/wrapper - .gradle/caches -variables: - AVD_SDK: "17" - # switch glibc to a memory conserving mode - MALLOC_ARENA_MAX: "2" - build: script: - export GRADLE_USER_HOME=$PWD/.gradle @@ -25,6 +20,10 @@ build: } connectedCheck: + variables: + AVD_SDK: "17" + # switch glibc to a memory conserving mode + MALLOC_ARENA_MAX: "2" script: - export GRADLE_USER_HOME=$PWD/.gradle - emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window &