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.
This commit is contained in:
Daniel Martí 2016-05-12 15:23:30 +01:00
parent 7de5d4d551
commit 8ef32eba0c

View File

@ -5,11 +5,6 @@ cache:
- .gradle/wrapper - .gradle/wrapper
- .gradle/caches - .gradle/caches
variables:
AVD_SDK: "17"
# switch glibc to a memory conserving mode
MALLOC_ARENA_MAX: "2"
build: build:
script: script:
- export GRADLE_USER_HOME=$PWD/.gradle - export GRADLE_USER_HOME=$PWD/.gradle
@ -25,6 +20,10 @@ build:
} }
connectedCheck: connectedCheck:
variables:
AVD_SDK: "17"
# switch glibc to a memory conserving mode
MALLOC_ARENA_MAX: "2"
script: script:
- export GRADLE_USER_HOME=$PWD/.gradle - export GRADLE_USER_HOME=$PWD/.gradle
- emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window & - emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window &