Browse Source

parse debian/tests/control for test dependencies

Our integration tests need some additional dependencies to run and
function correctly, but while multiple places run them, there is no need
to also specify the these dependencies in multiple places.

Git-Dch: Ignore
tags/debian/1.0.7
David Kalnischkies 7 years ago
parent
commit
0d33183f0f
2 changed files with 1 additions and 1 deletions
  1. +0
    -1
      .travis.yml
  2. +1
    -0
      prepare-release

+ 0
- 1
.travis.yml View File

@@ -2,5 +2,4 @@ language: cpp
before_install:
- sudo apt-get update -q
- sudo ./prepare-release travis-ci
- sudo apt-get install -q --no-install-recommends stunnel4 db-util
script: make && make test && test/integration/run-tests

+ 1
- 0
prepare-release View File

@@ -105,6 +105,7 @@ elif [ "$1" = 'buildlog' ]; then
done
elif [ "$1" = 'travis-ci' ]; then
apt-get install -q --no-install-recommends $(sed -n -e '/^Build-Depends: /,/^Build-Depends-Indep: / {p}' debian/control | sed -e 's#([^)]*)##g' -e 's#^Build-Depends\(-Indep\)\?: ##' | tr -d ',')
apt-get install -q --no-install-recommends $(sed -n 's#^Depends: .*@, \(.*\)$#\1#p' debian/tests/control | tr -d ',')
else
echo >&1 "Usage:\t$0 pre-export
\t$0 post-build


Loading…
Cancel
Save