Skip to content

Commit 01efa6a

Browse files
add deploy to circleci (#156)
1 parent c516f5c commit 01efa6a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.circleci/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,20 @@ jobs:
9090
destination: reports
9191
- store_test_results:
9292
path: test-app/build/test-results
93+
deploy:
94+
working_directory: ~/android-code
95+
docker:
96+
- image: circleci/android:api-26-alpha
97+
environment:
98+
JVM_OPTS: -Xmx3200m
99+
steps:
100+
- checkout
101+
- deploy:
102+
name: Push to bintray
103+
command: if [ "${CIRCLE_TAG}" ]; then
104+
./gradlew ship
105+
fi
106+
93107
workflows:
94108
version: 2
95109
build_test:
@@ -101,3 +115,8 @@ workflows:
101115
- test_api_version_17:
102116
requires:
103117
- build
118+
- deploy:
119+
requires:
120+
- test_api_version_17
121+
- test_api_version_25
122+
tag: /.*/

0 commit comments

Comments
 (0)