forked from tailhook/rotor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvagga.yaml
56 lines (46 loc) · 1.34 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
commands:
make: !Command
description: Build rotor library
container: ubuntu
run: [cargo, build]
test: !Command
description: Run unit tests
container: ubuntu
run: [cargo, test]
cargo: !Command
description: Run any cargo command
container: ubuntu
run: [cargo]
doc: !Command
description: Build sphinx documentation
container: docs
run: [make, html]
work-dir: doc
epilog: |
--------------------------------------------------
Documentation is now at doc/_build/html/index.html
doc-api: !Command
description: Build API documentation (rustdoc)
container: ubuntu
run: [cargo, doc]
epilog: |
---------------------------------------------------
Documentation is now at target/doc/rotor/index.html
containers:
ubuntu:
setup:
- !Ubuntu trusty
- !UbuntuUniverse ~
- !Install [make, checkinstall, wget, ca-certificates,
libssl-dev, build-essential]
- !TarInstall
url: "http://static.rust-lang.org/dist/rust-1.7.0-x86_64-unknown-linux-gnu.tar.gz"
script: "./install.sh --prefix=/usr \
--components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
environ:
HOME: /work/target
docs:
setup:
- !Alpine v3.2
- !Install [alpine-base, py-sphinx, make]
- !Py2Requirements doc/requirements.txt