-
Notifications
You must be signed in to change notification settings - Fork 6
/
circle.yml
25 lines (25 loc) · 961 Bytes
/
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
machine:
java:
version: oraclejdk8
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx1560m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false'
dependencies:
pre:
- sudo service postgresql stop
- sudo service mongodb stop
- sudo service memcached stop
- sudo service mysql stop
- sudo service couchdb stop
- sudo service rabbitmq-server stop
- sudo service zookeeper stop
- echo y | android -s update sdk -u -a -t "tools"
- echo y | android -s update sdk -u -a -t "platform-tools"
- echo y | android -s update sdk -u -a -t "extra-android-m2repository"
- mkdir -p "$ANDROID_HOME"/licenses
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME"/licenses/android-sdk-license
test:
override:
- TERM=dumb ./gradlew check
post:
- cp -r processor/build/test-results/ "$CIRCLE_TEST_REPORTS/processor"
- cp -r library/build/test-results/ "$CIRCLE_TEST_REPORTS/library"