-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcircle.yml
More file actions
27 lines (24 loc) · 771 Bytes
/
Copy pathcircle.yml
File metadata and controls
27 lines (24 loc) · 771 Bytes
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
machine:
environment:
TERM: dumb
ANDROID_HOME: /usr/local/android-sdk-linux
ADB_INSTALL_TIMEOUT: 8
dependencies:
cache_directories:
- ~/.android
- ~/.gradle
override:
- ./gradlew dependencies
test:
override:
- ./gradlew :app:assembleDebug -PdisablePreDex
- ./gradlew test -PdisablePreDex
- cp -fr app/build/outputs $CIRCLE_ARTIFACTS
# - cp -fr app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS
deployment:
deploygate:
branch: master
commands:
- |
./gradlew :app:uploadDeployGateDebug -PDEPLOYGATE_USER_NAME=$DEPLOYGATE_USER_NAME -PDEPLOYGATE_API_TOKEN=$DEPLOYGATE_API_TOKEN -PBUILD_MESSAGE="Branch=`git symbolic-ref --short HEAD`
`git log --pretty=oneline --abbrev-commit -1`"