forked from rust-osdev/x86_64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (25 loc) · 811 Bytes
/
.travis.yml
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
language: rust
rust: nightly
cache:
- cargo
- $TRAVIS_BUILD_DIR/testing/target
before_script:
- rustup target add i686-unknown-linux-gnu
- rustup target add thumbv7em-none-eabihf
- rustup component add llvm-tools-preview
- rustup component add rust-src
- (test -x $HOME/.cargo/bin/cargo-update-installed || cargo install cargo-update-installed)
- (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild)
- (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage)
- cargo update-installed
script:
- cargo build
- cargo test
- cargo build --features deny-warnings
- bootimage test --manifest-path testing/Cargo.toml
- cargo build --target i686-unknown-linux-gnu
- cargo build --target thumbv7em-none-eabihf
addons:
apt:
packages:
- qemu-system-x86