-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
32 lines (32 loc) · 1.35 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter "tools,platform-tools,android-26"
- echo y | android update sdk --no-ui --all --filter "build-tools-27.0.3"
- echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
- git submodule update --init
test:
override:
- export TERM="dumb"
- (./gradlew clean assembleProductionDebug):
timeout: 900 # 15 minutes
# # start the emulator
# - emulator -avd circleci-android22 -no-audio -no-window:
# background: true
# parallel: true
# # wait for it to have booted
# - circle-android wait-for-boot
# # run tests against the emulator (only ibikecph-app has instrumented tests at the moment)
# - ./gradlew :ibikecph-app:connectedAndroidTest
# #- ./gradlew connectedAndroidTest
# # copy the build outputs to artifacts
# - cp -r my-project/build/outputs $CIRCLE_ARTIFACTS
# # copy the test results to the test results directory.
# - cp -r my-project/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS
deployment:
beta:
branch: develop
commands:
- ./gradlew :cykelplanen:uploadProductionDebugToHockeyApp
- ./gradlew :ibikecph-app:uploadProductionDebugToHockeyApp
#- ./gradlew :cykelplanen:uploadProductionReleaseToHockeyApp
#- ./gradlew :ibikecph-app:uploadProductionReleaseToHockeyApp