summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-03-03 21:24:47 +1300
committerAndreas Schneider <asn@cryptomilk.org>2018-03-22 08:00:25 +0100
commit87dac6295c1d062148af3fc51149eac418270408 (patch)
tree43fdc80d89725278eff7e9a51d008521a45196e1 /.travis.yml
parentd9505567554b13c7e5a61284b14ec90b8cb05075 (diff)
downloadsamba-87dac6295c1d062148af3fc51149eac418270408.tar.gz
travis-ci: Only un-shallow for PIDL
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 645658b9e7d..9e7172c6d6c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,5 +30,7 @@ before_install:
- sudo apt-get install --assume-yes acl attr autoconf bind9utils bison build-essential debhelper dnsutils docbook-xml docbook-xsl flex gdb libjansson-dev krb5-user libacl1-dev libaio-dev libarchive-dev libattr1-dev libblkid-dev libbsd-dev libcap-dev libcups2-dev libgnutls-dev libgpgme11-dev libjson-perl libldap2-dev libncurses5-dev libpam0g-dev libparse-yapp-perl libpopt-dev libreadline-dev nettle-dev perl perl-modules pkg-config python-all-dev python-crypto python-dbg python-dev python-dnspython python3-dnspython python-gpgme python3-gpgme python-markdown python3-markdown python3-dev xsltproc zlib1g-dev
script:
- - git fetch --unshallow
+ - if [ $TASK = "pidl" ]; then
+ git fetch --unshallow;
+ fi
- ./script/autobuild.py --tail --testbase=/tmp $TASK