Add qemu 4.1

This commit is contained in:
dadav 2019-10-03 12:55:18 +02:00
parent 8c8bf77d1a
commit 54ddbab951

View File

@ -24,18 +24,20 @@ branches:
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
before_cache:
- mountpoint -q $TRAVIS_BUILD_DIR/tmp/mnt && sudo umount -R $TRAVIS_BUILD_DIR/tmp/mnt
- sudo find $TRAVIS_BUILD_DIR/tmp/ -name '*.img' -delete
cache:
apt: true
directories:
- tmp/
- qemu-4.1.0
before_script:
- test -d qemu-4.1.0 || ( wget https://download.qemu.org/qemu-4.1.0.tar.xz && tar xvJf qemu-4.1.0.tar.xz )
- cd qemu-4.1.0
- ./configure --target-list=arm-softmmu
- make -j$(nproc)
- sudo make install
- cd $TRAVIS_BUILD_DIR
- sudo apt-get -y update
- sudo apt-get -y install qemu-user-static binfmt-support qemu bmap-tools kpartx
- sudo apt-get -y install qemu-user-static binfmt-support bmap-tools kpartx
- sudo update-binfmts --display
script: