[Pkg-nagios-changes] [pkg-monitoring-plugins] 26/51: Add travis config

Jan Wagner waja at moszumanska.debian.org
Mon Jul 7 14:36:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-monitoring-plugins.

commit 9eceb00e0a83d312b3ee8aa2578270e735fd63b5
Author: Jan Wagner <waja at cyconet.org>
Date:   Sat Feb 22 00:03:05 2014 +0100

    Add travis config
---
 .travis.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f9d8c30
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,30 @@
+language: c
+
+before_install:
+  # cleanup git stuff (source format 1.0 does not exclude it)
+  - rm -rf .git .travis.yml
+  # update package list
+  - sudo apt-get update -qq
+  #
+  - if [ "$TRAVIS_BRANCH" != "m-p" ]; then sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl && uscan --force-download && sudo apt-get purge -qq libwww-perl libcrypt-ssleay-perl && sudo apt-get autoremove -qq; else sudo apt-get install -qq --no-install-recommends devscripts && VER=$(head -1 debian/changelog | awk -F'[()]' '{print $2}' | awk -F'+' '{print $1}'); wget https://gist.githubusercontent.com/waja/9142217/raw/git2release -O /tmp/git2rele [...]
+#  # installneeded packages for uscan
+#  - sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl
+#  # download original tarball
+#  - uscan --force-download
+#  # remove packages needed for uscan
+#  - sudo apt-get purge -qq libwww-perl libcrypt-ssleay-perl
+#  - sudo apt-get autoremove -qq
+
+install:
+  # install implicit build dependencies
+  - sudo apt-get install -qq --no-install-recommends build-essential fakeroot devscripts
+  # install explicit build dependencies
+  - sudo apt-get install -qq --no-install-recommends debhelper dpatch perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libradiusclient-ng-dev libkrb5-dev libnet-snmp-perl procps mawk dpatch hardening-wrapper
+
+script:
+    # build the debian package
+    - debuild -uc -us
+
+#notifications:
+#  email: false
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-monitoring-plugins.git



More information about the Pkg-nagios-changes mailing list