[Pkg-nagios-changes] [pkg-monitoring-plugins] 02/06: travis-ci: Make use of travis.d.n
Jan Wagner
waja at moszumanska.debian.org
Thu Nov 17 13:15:24 UTC 2016
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 0ee699837e7095f0a6de613dbde6a8c91dad6f24
Author: Jan Wagner <waja at cyconet.org>
Date: Mon Nov 14 10:53:00 2016 +0100
travis-ci: Make use of travis.d.n
---
.travis.yml | 39 ++++++++++-----------------------------
1 file changed, 10 insertions(+), 29 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e6f1a1c..5277855 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,43 +1,24 @@
sudo: required
-dist: trusty
-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
- # remove the shiped gawk (we use mawk)
- - sudo apt-get purge -qq gawk
- #
- - sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl && UVERSION=$(dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1); uscan --verbose --download-version ${UVERSION} --force-download && sudo apt-get purge -qq libwww-perl libcrypt-ssleay-perl && sudo apt-get autoremove -qq
-# # 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
+env:
+ - TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_SECURITY_UPDATES=false
+ - TRAVIS_DEBIAN_DISTRIBUTION=testing
-install:
- # add ppa for libfreeradius-client-dev and newer lintian
- - sudo add-apt-repository -y ppa:waja/trusty-backports
- - sudo apt-get update -qq
- # install packages needed for mk-build-deps
- - sudo apt-get install -qq --no-install-recommends devscripts equivs
- # pull build deps from debian/control
- - sudo mk-build-deps -ir -t "apt-get --yes --no-install-recommends"
- # remove packages needed for mk-build-deps
- - sudo apt-get purge -qq equivs
+services:
+ - docker
script:
# build the debian package
- - dpkg-buildpackage -uc -us
+ - wget -O- http://travis.debian.net/script.sh | sh -
after_script:
# run lintian after build
- sudo apt-get install -qq --no-install-recommends lintian
- lintian --info --display-info --display-experimental --pedantic --show-overrides ../*.deb && lintian --info --display-info --display-experimental --pedantic --show-overrides ../*.dsc
+
#notifications:
# email: false
+branches:
+ except:
+ - /^debian\/\d/
--
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