summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2015-05-04 13:44:45 +1200
committerStefan Metzmacher <metze@samba.org>2016-01-05 12:21:40 +0100
commitff94a01e19604ae6275672e70edd25121df79bbf (patch)
treed47c801f68000e116be39639ccbeb75413b8f06d /.travis.yml
parent05c34810a8184a67d2836fcae51ec8de8c4a46fc (diff)
downloadsamba-ff94a01e19604ae6275672e70edd25121df79bbf.tar.gz
travis: Add metadata file for the Travis CI Open Source cloud build/test service
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jan 5 12:21:40 CET 2016 on sn-devel-144
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000000..9d126656742
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,31 @@
+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=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 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
+
+script:
+ - git fetch --unshallow
+ - ./script/autobuild.py --tail --testbase=/tmp $TASK