-
Notifications
You must be signed in to change notification settings - Fork 11
/
vagga.yaml
36 lines (29 loc) · 803 Bytes
/
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
commands:
cargo: !Command
description: Run any cargo command
container: ubuntu
run: [cargo]
make: !Command
description: Build the library
container: ubuntu
run: [cargo, build]
test: !Command
description: Run unit tests
container: ubuntu
environ:
RUST_BACKTRACE: 1
run: [cargo, test]
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
USER: pc