add asound for travis build

This commit is contained in:
mpromonet 2016-06-19 19:32:21 +02:00
parent 6df105f9ee
commit 3c5a24d096

View File

@ -1,9 +1,9 @@
dist: trusty
before_install:
- sudo apt-get update
- sudo apt-get install -y cmake liblog4cpp5-dev liblivemedia-dev
- sudo apt-get install -y cmake liblog4cpp5-dev liblivemedia-dev libasound2-dev
- sudo apt-get install -y qemu-user-static debootstrap
- sudo debootstrap --variant=minbase --arch armhf --foreign --include=g++,liblog4cpp5-dev,liblivemedia-dev jessie rootfs
- sudo debootstrap --variant=minbase --arch armhf --foreign --include=g++,liblog4cpp5-dev,liblivemedia-dev,libasound2-dev jessie rootfs
- sudo cp /usr/bin/qemu-arm-static rootfs/usr/bin/
- sudo chroot rootfs /debootstrap/debootstrap --second-stage
- git clone https://github.com/raspberrypi/tools.git rpi_tools