pkg-monitoring-plugins/.travis.yml

36 lines
1.3 KiB
YAML
Raw Normal View History

sudo: required
2016-11-22 12:42:30 +00:00
dist: trusty
2014-02-21 23:03:05 +00:00
matrix:
2016-11-22 12:34:13 +00:00
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/"
allow_failures:
2016-11-22 12:34:13 +00:00
- env: TRAVIS_DEBIAN_DISTRIBUTION=stable
2014-02-21 23:03:05 +00:00
2016-11-14 09:53:00 +00:00
services:
- docker
2014-02-21 23:03:05 +00:00
2016-11-16 23:49:01 +00:00
before_script:
# fetch all tags (not done due travis cloning with depth=50)
- git fetch --tags
2014-02-21 23:03:05 +00:00
script:
2015-03-10 15:06:33 +00:00
# build the debian package
2016-11-14 09:53:00 +00:00
- wget -O- http://travis.debian.net/script.sh | sh -
2014-02-21 23:03:05 +00:00
2014-02-25 13:08:08 +00:00
after_script:
2015-03-10 15:06:33 +00:00
# run lintian after build
- sudo add-apt-repository -y ppa:waja/trusty-backports
- sudo apt-get update -qq
2015-03-10 15:06:33 +00:00
- 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
2016-11-14 09:53:00 +00:00
2014-02-21 23:03:05 +00:00
#notifications:
# email: false
2016-11-14 09:53:00 +00:00
branches:
except:
- /^debian\/\d/