nagios-snmp-plugins/.travis.yml

28 lines
883 B
YAML
Raw Normal View History

2014-02-13 21:43:33 +00:00
language: c
2014-02-16 22:10:52 +00:00
before_install:
# update package list
2014-02-13 21:43:33 +00:00
- sudo apt-get update -qq
2014-02-16 22:10:52 +00:00
# installneeded packages for uscan
2014-02-13 21:43:33 +00:00
- sudo apt-get install -qq --no-install-recommends devscripts libwww-perl
2014-02-16 22:10:52 +00:00
# download original tarball
2014-02-13 21:43:33 +00:00
- uscan --force-download
2014-02-16 22:10:52 +00:00
# remove packages needed for uscan
2014-02-13 21:43:33 +00:00
- sudo apt-get purge -qq libwww-perl
- sudo apt-get autoremove -qq
2014-02-16 22:10:52 +00:00
install:
# install build dependencies
2014-02-13 21:43:33 +00:00
- sudo apt-get install -qq --no-install-recommends debhelper dpatch
script:
2014-02-16 22:10:52 +00:00
# build the debian package
2014-02-13 21:43:33 +00:00
- debuild -uc -us
2014-02-25 13:06:22 +00:00
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
2014-02-13 21:43:33 +00:00
#notifications:
# email: false