forked from apache/incubator-weex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
37 lines (34 loc) · 820 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
31
32
33
34
35
36
37
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 && ./run-ci.sh
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