travis: Add metadata file for the Travis CI Open Source cloud build/test service
[metze/samba/wip.git] / .travis.yml
1 language: c
2 dist: trusty
3
4 sudo: true
5
6 cache: ccache
7
8 # Everything except samba and ctdb (long tests)
9 env:
10   - TASK=samba-xc
11   - TASK=samba-ctdb
12   - TASK=samba-libs
13   - TASK=samba-static
14   - TASK=ldb
15   - TASK=tdb
16   - TASK=talloc
17   - TASK=replace
18   - TASK=tevent
19   - TASK=pidl
20
21 # Fail everything after the first job fails
22 matrix:
23   fast_finish: true
24
25 before_install:
26  - sudo apt-get update -qq
27  - sudo apt-get install --assume-yes screen git build-essential libacl1-dev libattr1-dev libblkid-dev libgnutls-dev libreadline-dev python-dev libpam0g-dev python-dnspython gdb pkg-config libpopt-dev libldap2-dev dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl bison debhelper docbook-xml docbook-xsl flex libaio-dev libbsd-dev libcap-dev libcups2-dev libncurses5-dev libpam0g-dev libpopt-dev libreadline-dev perl perl-modules libparse-yapp-perl pkg-config python-all-dev python-dnspython xsltproc zlib1g-dev autoconf
28
29 script:
30  - git fetch --unshallow
31  - ./script/autobuild.py --tail --testbase=/tmp $TASK