[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 32/32: travis-ci: Build against unstable, testing and stable; run lintian
Jan Wagner
waja at moszumanska.debian.org
Fri Nov 18 17:23:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
waja pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.
commit f2ad81b87b7e6a0572c25610bd4c328d87870342
Author: Jan Wagner <waja at cyconet.org>
Date: Fri Nov 18 18:15:54 2016 +0100
travis-ci: Build against unstable, testing and stable; run lintian
---
.travis.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index cf2f794..39c4c32 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,31 @@
sudo: required
+env:
+ - TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/" TRAVIS_DEBIAN_SECURITY_UPDATES=false
+ - TRAVIS_DEBIAN_DISTRIBUTION=testing TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/"
+ - TRAVIS_DEBIAN_DISTRIBUTION=stable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/"
+
services:
- docker
+before_script:
+ # fetch all tags (not done due travis cloning with depth=50)
+ - git fetch --tags
+
script:
+ # build the debian package
- wget -O- http://travis.debian.net/script.sh | sh -
+after_script:
+ # run lintian after build
+ - sudo add-apt-repository -y ppa:waja/trusty-backports
+ - sudo apt-get update -qq
+ - 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-nagios-plugins-contrib.git
More information about the Pkg-nagios-changes
mailing list