summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7c0926607075af9203e516820125eba5e4f3bddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: c
dist: trusty

sudo: true

cache: ccache

# Everything except samba and ctdb (long tests)
env:
  - TASK=samba-xc
  - TASK=samba-ctdb
  - TASK=samba-libs
  - TASK=samba-static
  - TASK=samba-o3
  - TASK=samba-none-env
  - TASK=samba-nopython
  - TASK=samba-systemkrb5
  - TASK=samba-nt4
  - TASK=ldb
  - TASK=tdb
  - TASK=talloc
  - TASK=replace
  - TASK=tevent
  - TASK=pidl

# Fail everything after the first job fails
matrix:
  fast_finish: true

before_install:
 - sudo apt-get update -qq
 - 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
 - sudo apt-get install --assume-yes binutils-gold
 - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
 - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
 - sudo update-alternatives --set ld /usr/bin/ld.gold

script:
 - if [ $TASK = "pidl" ]; then
    git fetch --unshallow;
   fi
 - ./script/autobuild.py --tail --testbase=/tmp $TASK