forked from alibaba/weex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
30 lines (27 loc) · 801 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
26
27
28
29
30
machine:
node:
version: 5
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
test:
override:
- npm run test
- cd android/playground && ./gradlew assembleDebug
- cd android/sdk && ./gradlew clean testDebugUnitTest -PdisableCov=true
post:
- cp -r android/playground/app/build/outputs $CIRCLE_ARTIFACTS # playground artifacts
- cp -r android/sdk/build/ $CIRCLE_ARTIFACTS/build
- cd android/sdk && bash <(curl -s https://codecov.io/bash)
dependencies:
cache_directories:
- "node_modules"
notify:
webhooks:
# gitter
- url: https://webhooks.gitter.im/e/f1030e2836f6c2beb41c
general:
branches:
ignore:
- gh-pages # ignore weex website
- doc # ignore doc
- /doc-.*/ # ignore doc