-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
20 lines (20 loc) · 665 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: rust
rust:
# - stable
# - beta
- nightly
matrix:
allow_failures:
- rust: nightly
before_install:
- sudo apt-get install protobuf-compiler nftables libnftnl-dev libnfnetlink-dev libmnl-dev
- cargo install cargo-deb
script:
- cargo check
- cargo fmt -- --check
- cargo build --release --all-targets --verbose
- cargo deb -p fog05-agent --no-build --verbose
- cargo deb -p fog05-fosctl --no-build --verbose
- dpkg -I ./target/debian/fog05-agent_0.3.0~alpha1_amd64.deb
- dpkg -I ./target/debian/fog05-fosctl_0.3.0~alpha1_amd64.deb
# - cd fog05-agent && cargo rpm init --template ./resources/rpm/template.hbs && cargo rpm build -v