Now we have a reasonable recent build system with systemd, etc. We still
keep old Ubuntu 12.04 Precise to check backward compatibility but
remove the hack to install socat.
Note the new env variable PRECISE="yes" is only there to see it on travis
website.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
sudo apt-get -qq update || return
sudo apt-get install -qq >/dev/null \
bc \
+ btrfs-tools \
dnsutils \
libcap-ng-dev \
libpam-dev \
gtk-doc-tools \
mdadm \
ntp \
+ socat \
|| return
- # install/upgrade custom stuff from non-official sources
- sudo add-apt-repository -y ppa:malcscott/socat || return
- sudo apt-get -qq update || return
+ # install only if available (e.g. Ubuntu Trusty)
sudo apt-get install -qq >/dev/null \
- socat \
- || return
+ libsystemd-daemon-dev \
+ libsystemd-journal-dev \
+ || true
}
function travis_before_script
language: c
+sudo: required
+dist: trusty
+
git:
depth: 1500
- MAKE_CHECK="root"
- MAKE_CHECK="dist"
+matrix:
+ include:
+ - os: linux
+ dist: precise
+ compiler: gcc
+ env: PRECISE="yes" MAKE_CHECK="root"
+
branches:
only:
- master