@ -0,0 +1,21 @@ | |||||
#!/usr/bin/env bash | |||||
SRC_DIR=${PWD} | |||||
cd /tmp | |||||
yum install -y epel-release | |||||
yum install -y xrdp xrdp-devel xrdp-selinux wget | |||||
yum install -y pulseaudio pulseaudio-libs pulseaudio-libs-devel | |||||
yum-builddep -y pulseaudio | |||||
yum groupinstall -y "Development Tools" | |||||
PULSE_VER=$(pkg-config --modversion libpulse) | |||||
# not to make traffic on upstream server | |||||
wget http://distcache.freebsd.org/ports-distfiles/pulseaudio-${PULSE_VER}.tar.xz | |||||
tar xf pulseaudio-${PULSE_VER}.tar.xz | |||||
cd pulseaudio-${PULSE_VER} | |||||
./configure || exit 1 | |||||
cd ${SRC_DIR} | |||||
./bootstrap && ./configure PULSE_DIR=/tmp/pulseaudio-${PULSE_VER} && make |
@ -0,0 +1,22 @@ | |||||
#!/usr/bin/env bash | |||||
SRC_DIR=${PWD} | |||||
cd /tmp | |||||
sed -i.bak -e 's|^# deb-src|deb-src|' /etc/apt/sources.list | |||||
apt update | |||||
apt install -y build-essential dpkg-dev libpulse-dev pulseaudio pkg-config xrdp | |||||
apt install -y g++ clang | |||||
apt install -y pulseaudio | |||||
apt build-dep -y pulseaudio | |||||
apt source pulseaudio | |||||
PULSE_VER=$(pkg-config --modversion libpulse) | |||||
cd pulseaudio-${PULSE_VER} | |||||
./configure || exit 1 | |||||
cd ${SRC_DIR} | |||||
./bootstrap && ./configure PULSE_DIR=/tmp/pulseaudio-${PULSE_VER} && make |
@ -0,0 +1,18 @@ | |||||
# vim:ts=2:sw=2:sts=0:number:expandtab | |||||
language: c | |||||
env: | |||||
matrix: | |||||
- OS_TYPE=ubuntu OS_VERSION=18.04 BRANCH=devel | |||||
- OS_TYPE=ubuntu OS_VERSION=18.04 BRANCH=master | |||||
- OS_TYPE=centos OS_VERSION=7 BRANCH=devel | |||||
- OS_TYPE=centos OS_VERSION=7 BRANCH=master | |||||
services: | |||||
- docker | |||||
before_install: | |||||
- docker pull ${OS_TYPE}:${OS_VERSION} | |||||
script: | |||||
- docker run --rm --interactive --tty --volume=${PWD}:${PWD} ${OS_TYPE}:${OS_VERSION} bash -c "cd ${PWD} && bash .travis.${OS_TYPE}.sh" |