travis-ci: don't install build-deps manual

This commit is contained in:
Jan Wagner 2015-03-10 16:04:56 +01:00
parent ddb7f3a20c
commit b8377a8b42

View file

@ -18,13 +18,16 @@ before_install:
# - sudo apt-get autoremove -qq
install:
# install implicit build dependencies
- sudo apt-get install -qq --no-install-recommends build-essential fakeroot devscripts
# add ppa for libfreeradius-client-dev and newer lintian
- sudo add-apt-repository -y ppa:waja/precise-backports
- sudo apt-get update -qq
# install explicit build dependencies
- sudo apt-get install -qq --no-install-recommends debhelper dpatch perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libfreeradius-client-dev libkrb5-dev libnet-snmp-perl procps mawk dpatch hardening-wrapper
# 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
script:
# build the debian package