From c9aa0684bfd6011307477ecd14fdec9ec889c208 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 25 Nov 2018 12:58:34 +0100 Subject: [PATCH 1/2] Use travis homebrew addon for installing qemu --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ad76bd6f..6ac2de4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,9 +33,11 @@ addons: apt: packages: - qemu-system-x86 + homebrew: + packages: + - qemu install: - - if [ $TRAVIS_OS_NAME = osx ]; then brew update; brew install qemu; fi - if [ $TRAVIS_OS_NAME = windows ]; then wget https://qemu.weilnetz.de/w64/2018/qemu-w64-setup-20180801.exe; 7z x qemu-w64-setup-20180801.exe; fi before_script: From af61d11cc1ac3705d97fc9597ee087c203e677f3 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 25 Nov 2018 12:58:50 +0100 Subject: [PATCH 2/2] Install qemu on Windows through choco --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6ac2de4d..543ff22d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ addons: - qemu install: - - if [ $TRAVIS_OS_NAME = windows ]; then wget https://qemu.weilnetz.de/w64/2018/qemu-w64-setup-20180801.exe; 7z x qemu-w64-setup-20180801.exe; fi + - if [ $TRAVIS_OS_NAME = windows ]; then choco install qemu; export PATH="/c/Program Files/qemu:$PATH"; fi before_script: - rustup component add rust-src