forked from szepeviktor/zdkimfilter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (21 loc) · 1.01 KB
/
.travis.yml
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
dist: trusty
sudo: required
language: c
services:
- docker
before_install:
- sudo apt-get update -qq
# Backport libopendkim-dev
- sudo apt-get install -y devscripts debhelper dh-autoreconf pkg-config libmilter-dev libdb-dev libunbound-dev libldap2-dev liblua5.1-0-dev autotools-dev libbsd-dev libopendbx1-dev libssl-dev dh-systemd libjansson-dev libsasl2-dev libmemcached-dev
- dget -ux "http://archive.ubuntu.com/ubuntu/pool/universe/o/opendkim/opendkim_2.11.0~alpha-9.dsc"
- cd opendkim-2.11*/
- dpkg-buildpackage -uc -us -B
- sudo dpkg -i ../libopendkim-dev_2.11*.deb ../libopendkim11_2.11*.deb
- cd -
# Debian packages for building zdkimfilter
- sudo apt-get install -y devscripts debhelper dh-autoreconf pkg-config libtool courier-mta uuid-dev zlib1g-dev libunistring-dev libidn2-0-dev nettle-dev libopendbx1-dev publicsuffix
script:
- dpkg-buildpackage -uc -us -B
- docker build .
after_success:
- lintian --display-info --display-experimental --pedantic --show-overrides ../zdkimfilter*.deb