28 lines
909 B
YAML
28 lines
909 B
YAML
language: c
|
|
|
|
before_install:
|
|
# update package list
|
|
- sudo apt-get update -qq
|
|
# installneeded packages for uscan
|
|
- sudo apt-get install -qq --no-install-recommends devscripts libwww-perl
|
|
# download original tarball
|
|
- uscan --force-download
|
|
# remove packages needed for uscan
|
|
- sudo apt-get purge -qq libwww-perl
|
|
- sudo apt-get autoremove -qq
|
|
|
|
install:
|
|
# install build dependencies
|
|
- sudo apt-get install -qq --no-install-recommends debhelper libpcap0.8-dev hardening-wrapper
|
|
|
|
script:
|
|
# build the debian package
|
|
- debuild -uc -us
|
|
|
|
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
|