2013-12-01 23:16:26 +00:00
|
|
|
language: c
|
|
|
|
|
2014-02-16 22:38:22 +00:00
|
|
|
before_install:
|
|
|
|
# update package list
|
2013-12-01 23:16:26 +00:00
|
|
|
- sudo apt-get update -qq
|
2014-02-16 22:38:22 +00:00
|
|
|
|
|
|
|
install:
|
2015-03-10 08:53:08 +00:00
|
|
|
# install packages needed for mk-build-deps
|
|
|
|
- sudo apt-get install -qq --no-install-recommends devscripts equivs
|
|
|
|
# pull build deps from debian/control
|
|
|
|
- sudo mk-build-deps -ir
|
|
|
|
# remove packages needed for mk-build-deps
|
|
|
|
- sudo apt-get purge -qq equivs
|
|
|
|
- sudo apt-get autoremove -qq
|
2013-12-01 23:16:26 +00:00
|
|
|
|
|
|
|
script:
|
2014-02-16 22:38:22 +00:00
|
|
|
# build the debian package
|
2015-03-10 14:17:11 +00:00
|
|
|
- dpkg-buildpackage -uc -us
|
2013-12-01 23:16:26 +00:00
|
|
|
|
2014-02-25 13:03:23 +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
|
2013-12-01 23:16:26 +00:00
|
|
|
#notifications:
|
|
|
|
# email: false
|