[PATCH 11/12] travis: switch to Ubuntu 14.04 Trusty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
 .travis-functions.sh | 11 ++++++-----
 .travis.yml          | 10 ++++++++++
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/.travis-functions.sh b/.travis-functions.sh
index 3c18559..e4318d6 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
diff --git a/.travis.yml b/.travis.yml
index e27adc4..545b915 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,8 @@
 language: c
 
+sudo: required
+dist: trusty
+
 git:
   depth: 1500
 
@@ -12,6 +15,13 @@ env:
   - MAKE_CHECK="root"
   - MAKE_CHECK="dist"
 
+matrix:
+  include:
+    - os: linux
+      dist: precise
+      compiler: gcc
+      env: PRECISE="yes" MAKE_CHECK="root"
+
 branches:
   only:
     - master
-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux