forked from tailhook/cantal-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvagga.yaml
56 lines (46 loc) · 1.18 KB
/
vagga.yaml
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
containers:
docs:
setup:
- !Alpine v3.4
- !Install [alpine-base, py-sphinx, make]
- !Py2Install [sphinx_rtd_theme]
py2:
setup:
- !Alpine v3.4
- !Install [python]
py3:
setup:
- !Alpine v3.4
- !Install [python3]
py3-ubuntu-i386:
setup:
- !UbuntuRelease
codename: xenial
arch: i386
- !Install [python3]
commands:
doc: !Command
description: Build documentation
container: docs
run: [make, html]
work-dir: doc
epilog: |
--------------------------------------------------------
Documentation is built under docs/_build/html/index.html
test: !Command
description: Run tests for python2 and python3
prerequisites: [_test-py2, _test-py3, _test-py3-32bit]
container: docs
run: "echo All tests are fine"
_test-py2: !Command
description: Run python2 tests
container: py2
run: [python2, -m, unittest, discover]
_test-py3: !Command
description: Run python3 tests
container: py3
run: [python3, -m, unittest, discover]
_test-py3-32bit: !Command
description: Run python3 32bit tests
container: py3-ubuntu-i386
run: [python3, -m, unittest, discover]