forked from alibaba/weex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
38 lines (35 loc) · 1.18 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
33
34
35
36
37
38
machine:
pre:
- sudo service mongodb stop
- sudo service mysql stop
- sudo service postgresql stop
- sudo service rabbitmq-server stop
- sudo service couchdb stop
node:
version: 7
java:
version: 'oraclejdk8'
test:
override:
- npm run build
- npm run test
- cd android/playground && ./gradlew assembleDebug -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError" -Dfile.encoding=UTF-8
- cd android/sdk && ./gradlew testDebugUnitTest -PdisableCov=true -PtargetSDK=19 -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError" -Dfile.encoding=UTF-8
post:
- cp -r android/playground/app/build/outputs $CIRCLE_ARTIFACTS/playground # playground artifacts
- cp -r android/sdk/build/reports $CIRCLE_ARTIFACTS/sdk_reports
dependencies:
cache_directories:
- "node_modules"
- ~/.gradle
- ~/.m2
notify:
webhooks:
# gitter
- url: https://webhooks.gitter.im/e/f1030e2836f6c2beb41c
general:
branches:
ignore:
- gh-pages # ignore weex website
- doc # ignore doc
- /doc-.*/ # ignore doc