Remove test code from circle config
Semantic delta
No definition changed: this change is text, documentation or data.
1 files · +0 −48
- .circleci/config.yml +0 −48
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 0e5050e4f..13794e641 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -72,51 +72,3 @@ workflows:
jobs:
- android
- core
-
-
-version: 2
-jobs:
- build:
- working_directory: ~/code
- docker:
- # Android the primary container
- - image: circleci/android:api-26-alpha
- environment:
- JVM_OPTS: -Xmx3200m
- steps:
- - checkout
- - restore_cache:
- key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- - run:
- name: Download Dependencies
- command: ./gradlew androidDependencies
- - save_cache:
- paths:
- - ~/.gradle
- key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- - run:
- name: Run UnitTest
- command: ./gradlew testDemoDebugUnitTest
- - run:
- name: Setup emulator
- command: sdkmanager "system-images;android-16;default;armeabi-v7a" && echo "no" | avdmanager create avd -n test -k "system-images;android-16;default;armeabi-v7a"
- - run:
- name: Launch emulator
- command: export LD_LIBRARY_PATH=${ANDROID_HOME}/emulator/lib64:${ANDROID_HOME}/emulator/lib64/qt/lib && emulator64-arm -avd test -noaudio -no-boot-anim -no-window -accel auto -verbose
- background: true
- - run:
- name: Wait emulator
- command: |
- # wait for it to have booted
- circle-android wait-for-boot
- # unlock the emulator screen
- sleep 30
- adb shell input keyevent 82
- - run:
- name: Run EspressoTests
- command: ./gradlew connectedDemoDebugAndroidTest
- - store_artifacts:
- path: app/build/reports
- destination: reports
- - store_test_results:
- path: app/build/test-results