[Pkg-nagios-changes] [pkg-monitoring-plugins] 02/02: travis-ci: Reduce complexity
Jan Wagner
waja at moszumanska.debian.org
Tue Jan 17 18:00:36 UTC 2017
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 e4d7fd6be91d17f527fb06669fd19075e5d8e03d
Author: Jan Wagner <waja at cyconet.org>
Date: Tue Jan 17 17:17:37 2017 +0100
travis-ci: Reduce complexity
---
.travis.yml | 17 +++--------------
debian/gbp.conf | 2 ++
2 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 5f75cd1..68331a7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,30 +3,19 @@ dist: trusty
matrix:
include:
- - env: TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/" TRAVIS_DEBIAN_EXTRA_REPOSITORY="http://httpredir.debian.org/debian/ jessie main" TRAVIS_DEBIAN_SECURITY_UPDATES=false
- - env: TRAVIS_DEBIAN_DISTRIBUTION=testing TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/" TRAVIS_DEBIAN_EXTRA_REPOSITORY="http://httpredir.debian.org/debian/ jessie main"
- - env: TRAVIS_DEBIAN_DISTRIBUTION=stable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/"
+ - env: TRAVIS_DEBIAN_DISTRIBUTION=unstable
+ - env: TRAVIS_DEBIAN_DISTRIBUTION=testing
+ - env: TRAVIS_DEBIAN_DISTRIBUTION=stable
allow_failures:
- env: TRAVIS_DEBIAN_DISTRIBUTION=stable
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
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..5d84e2e
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[git-buildpackage]
+postbuild = lintian --info --display-info --display-experimental --pedantic --show-overrides $GBP_CHANGES_FILE
--
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