forked from hello/suripu-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
22 lines (20 loc) · 829 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
machine:
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
java:
version: oraclejdk8
general:
branches:
ignore:
- /no\-test\-.*/
dependencies:
override:
- echo y | android update sdk -u -a -t android-25,extra-android-m2repository,extra-google-m2repository,extra-android-support,build-tools-25.0.1
- ./gradlew dependencies -PhelloAwsAccessKeyID="$AWS_ACCESS_KEY_ID" -PhelloAwsSecretKey="$AWS_SECRET_KEY"
test:
override:
- ./gradlew clean testDebug -PdisablePreDex -PhelloAwsAccessKeyID="$AWS_ACCESS_KEY_ID" -PhelloAwsSecretKey="$AWS_SECRET_KEY"
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;