travis-ci: grab actual used upstream version

This commit is contained in:
Jan Wagner 2015-08-21 11:14:49 +02:00
parent 1353afabd7
commit 5dbc8cbf0c

View file

@ -8,7 +8,7 @@ before_install:
# remove the shiped gawk (we use mawk)
- sudo apt-get purge -qq gawk
#
- 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
- sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl && UVERSION=$(dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1); uscan --verbose --download-version ${UVERSION} --force-download && sudo apt-get purge -qq libwww-perl libcrypt-ssleay-perl && sudo apt-get autoremove -qq
# # installneeded packages for uscan
# - sudo apt-get install -qq --no-install-recommends devscripts libwww-perl libcrypt-ssleay-perl
# # download original tarball