This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
/
.mci.yml
108 lines (97 loc) · 2.95 KB
/
.mci.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
pre:
- command: git.get_project
params:
directory: "docs-tools"
- command: git.apply_patch
params:
directory: "docs-tools"
- command: shell.exec
params:
working_dir: "docs-tools/giza"
script: |
rm -rf ~/venv
virtualenv ~/venv
${venv}/pip install -e .
tasks:
- name: "small-tests"
commands:
- command: shell.exec
params:
working_dir: "docs-tools/giza"
script: |
. ${venv}/activate
${venv}/pip install pep8 pyflakes # nose
# ${venv}/nosetests ./test
pyflakes giza
pep8 --max-line-length=100 giza
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project www-about --operation minimal
giza test --project docs-ecosystem --operation minimal
giza test --project mongodb-primer --operation minimal
- name: "mms-docs-minimal-test"
commands:
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project mms-docs --operation minimal
- name: "manual-minimal-test-master"
commands:
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project mongodb-manual --operation minimal --branch master
- name: "manual-minimal-test-v2.6"
commands:
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project mongodb-manual --operation minimal --branch v2.6
- name: "manual-minimal-test-v2.4"
commands:
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project mongodb-manual --operation minimal --branch v2.4
- name: "manual-minimal-test-v2.2"
commands:
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project mongodb-manual --operation minimal --branch v2.2
- name: "training-minimal-test" # disabled because of access limitations
commands:
- command: shell.exec
params:
working_dir: "docs-tools"
script: |
. ${venv}/activate
giza test --project docs-training --operation minimal
buildvariants:
- name: ubuntu1404-release
display_name: "Ubuntu 14.04"
run_on:
- ubuntu1404-test
expansions:
venv: "~/venv/bin"
tasks:
- name: "small-tests"
- name: "mms-docs-minimal-test"
- name: "manual-minimal-test-master"
- name: "manual-minimal-test-v2.6"
- name: "manual-minimal-test-v2.4"
- name: "manual-minimal-test-v2.2"
# - name: "training-minimal-test"