Install qemu on CI

This commit is contained in:
Philipp Oppermann
2019-04-22 14:09:20 +02:00
parent cdd91df869
commit c2f36e086e
3 changed files with 42 additions and 0 deletions

View File

@@ -28,6 +28,17 @@ cache:
directories:
- $HOME/.cargo
addons:
apt:
packages:
- qemu-system-x86
homebrew:
packages:
- qemu
install:
- if [ $TRAVIS_OS_NAME = windows ]; then choco install qemu; export PATH="/c/Program Files/qemu:$PATH"; fi
before_script:
- rustup component add rust-src llvm-tools-preview
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade