2014-02-21 23:03:05 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
# cleanup git stuff (source format 1.0 does not exclude it)
|
|
|
|
- rm -rf .git .travis.yml
|
|
|
|
# update package list
|
|
|
|
- sudo apt-get update -qq
|
2014-02-27 20:46:52 +00:00
|
|
|
# remove the shiped gawk (we use mawk)
|
|
|
|
- sudo apt-get purge -qq gawk
|
2014-02-21 23:03:05 +00:00
|
|
|
#
|
2014-07-11 17:20:42 +00:00
|
|
|
- sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl && uscan --force-download && sudo apt-get purge -qq libwww-perl libcrypt-ssleay-perl && sudo apt-get autoremove -qq
|
2014-02-21 23:03:05 +00:00
|
|
|
# # installneeded packages for uscan
|
|
|
|
# - sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl
|
|
|
|
# # download original tarball
|
|
|
|
# - uscan --force-download
|
|
|
|
# # remove packages needed for uscan
|
|
|
|
# - sudo apt-get purge -qq libwww-perl libcrypt-ssleay-perl
|
|
|
|
# - sudo apt-get autoremove -qq
|
|
|
|
|
|
|
|
install:
|
2014-07-21 17:03:15 +00:00
|
|
|
# add ppa for libfreeradius-client-dev and newer lintian
|
|
|
|
- sudo add-apt-repository -y ppa:waja/precise-backports
|
|
|
|
- sudo apt-get update -qq
|
2015-03-10 15:04:56 +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
|
2014-02-21 23:03:05 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
# build the debian package
|
2015-03-10 15:05:43 +00:00
|
|
|
- dpkg-buildpackage -uc -us
|
2014-02-21 23:03:05 +00:00
|
|
|
|
2014-02-25 13:08:08 +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-21 23:03:05 +00:00
|
|
|
#notifications:
|
|
|
|
# email: false
|
|
|
|
|