build: Build test all supported build configurations on Travis
Treat warnings as errors for these test builds. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
3bc11a4a2e
commit
f622a76597
1 changed files with 4 additions and 2 deletions
|
|
@ -8,8 +8,10 @@ before_script:
|
|||
- rustup component add rustfmt
|
||||
|
||||
script:
|
||||
- cargo build --release
|
||||
- cargo build --release --no-default-features
|
||||
- cargo rustc -- -D warnings
|
||||
- cargo rustc --no-default-features --features "pci" -- -D warnings
|
||||
- cargo rustc --no-default-features --features "pci,acpi" -- -D warnings
|
||||
- cargo rustc --no-default-features --features "mmio" -- -D warnings
|
||||
- cargo test
|
||||
- cargo clippy --all-targets --all-features -- -D warnings
|
||||
- find . -name "*.rs" | xargs rustfmt --check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue