forked from scrat-team/nunjucks-pagelet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cise.yml
29 lines (28 loc) · 1.13 KB
/
.cise.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
stage:
node-5:
prepare:
exec:
- yum erase -y alinode-iojs && rm -f /opt/taobao/node
- yum install -y alinode-iojs-5.* -b current
# - PATH=/opt/taobao/node/bin:$PATH npm i -g tnpm@beta --registry=http://registry.npm.alibaba-inc.com
- PATH=/opt/taobao/node/bin:$PATH tnpm i
unit_test:
exec:
- "CI_BUILD_REF=$source_version CI_BUILD_REF_NAME=$scm_branch CI_BUILD_REPO=$scm_url \
CI_BUILD_URL=http://cise.alibaba-inc.com/task/$task_id/build/$build_idx \
PATH=/opt/taobao/node/bin:$PATH tnpm run ci"
node-4:
prepare:
exec:
- yum erase -y alinode-iojs && rm -f /opt/taobao/node
- yum install -y alinode-iojs-4.* -b current
# - PATH=/opt/taobao/node/bin:$PATH npm i -g tnpm@beta --registry=http://registry.npm.alibaba-inc.com
- PATH=/opt/taobao/node/bin:$PATH tnpm i
unit_test:
exec:
- "CI_BUILD_REF=$source_version CI_BUILD_REF_NAME=$scm_branch CI_BUILD_REPO=$scm_url \
CI_BUILD_URL=http://cise.alibaba-inc.com/task/$task_id/build/$build_idx \
PATH=/opt/taobao/node/bin:$PATH tnpm run ci"
pipeline:
#- node-5, node-4
- node-4