Fixed circleci after apdate.

This commit is contained in:
Amine 2017-07-02 08:38:43 +02:00
parent d04cbac79c
commit 585c57fe3a

View File

@ -30,9 +30,9 @@ dependencies:
- ~/.android
override:
- echo y | android update sdk --no-ui --filter "android-25,build-tools-25.0.3"
- echo y | android update sdk --no-ui --filter "android-26,build-tools-26.0.0"
- echo y | android update sdk --no-ui --all --filter "platform-tools, tools"
- echo y | android update sdk --no-ui --all --filter "android-25, build-tools-25.0.3"
- echo y | android update sdk --no-ui --all --filter "android-26, build-tools-26.0.0"
- echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
- echo y | android update sdk --no-ui --all --filter "extra-android-support"
- echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"
@ -41,7 +41,7 @@ dependencies:
test:
override:
- (TERM="dumb" ./gradlew assemble --configure-on-demand --no-daemon -P crashlyticsdemoApikey=$FABRIC_API_KEY -P crashlyticsdemoApisecret=$FABRIC_API_SECRET -P appLoginUrl=$LOGIN_URL -P appLoginUsername=$LOGIN_USER_NAME -P appLoginPassword=$LOGIN_PASSWORD -PdisablePreDex -Pandroid.threadPoolSize=1 -Porg.gradle.parallel=false):
timeout: 720
timeout: 1440
- emulator -avd circleci-android22 -no-window:
background: true
parallel: true
@ -50,7 +50,7 @@ test:
- adb shell input keyevent 82
- adb shell input tap 650 300
- (TERM="dumb" ./gradlew connectedAndroidTest --configure-on-demand --no-daemon --stacktrace -P crashlyticsdemoApikey=$FABRIC_API_KEY -P crashlyticsdemoApisecret=$FABRIC_API_SECRET -P appLoginUrl=$LOGIN_URL -P appLoginUsername=$LOGIN_USER_NAME -P appLoginPassword=$LOGIN_PASSWORD -PdisablePreDex -Pandroid.threadPoolSize=1 -Porg.gradle.parallel=false):
timeout: 720
timeout: 1440
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
- cp -r app/build/reports/androidTests $CIRCLE_ARTIFACTS
- cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS