diff options
author | Ruediger Meier | 2016-03-12 23:44:50 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-03-13 21:48:21 +0100 |
commit | fc412fe4cee960909527efa5f2975b673c617a30 (patch) | |
tree | 4feb856ffa4f250e11c2f1a3cbd1d142e87b6f6d /.travis-functions.sh | |
parent | build-sys: improve uuidd and script build conditions (diff) | |
download | kernel-qcow2-util-linux-fc412fe4cee960909527efa5f2975b673c617a30.tar.gz kernel-qcow2-util-linux-fc412fe4cee960909527efa5f2975b673c617a30.tar.xz kernel-qcow2-util-linux-fc412fe4cee960909527efa5f2975b673c617a30.zip |
travis: switch to Ubuntu 14.04 Trusty
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>
Diffstat (limited to '.travis-functions.sh')
-rwxr-xr-x | .travis-functions.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.travis-functions.sh b/.travis-functions.sh index 3c1855951..e4318d6a6 100755 --- a/.travis-functions.sh +++ b/.travis-functions.sh @@ -71,6 +71,7 @@ function travis_install_script sudo apt-get -qq update || return sudo apt-get install -qq >/dev/null \ bc \ + btrfs-tools \ dnsutils \ libcap-ng-dev \ libpam-dev \ @@ -78,14 +79,14 @@ function travis_install_script 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 |