Skip to content

Commit e18751a

Browse files
committed
Add CI using autopkgtest and travis.debian.net.
Right now this just makes sure that the example packages build at all, to catch FTBFS problems like the 5.2 release. The next steps are to make sure the example packages actually do the changes we expect them to do and to make sure we have complete test coverage of all our functionality.
1 parent 339d268 commit e18751a

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
sudo: required
2+
language: generic
3+
4+
services:
5+
- docker
6+
7+
script:
8+
- wget -O- http://travis.debian.net/script.sh | sh -
9+
10+
env:
11+
- TRAVIS_DEBIAN_DISTRIBUTION=unstable

debian/tests/control

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Tests: examples
2+
Depends: @, debhelper, cdbs, dh-buildinfo, lynx
3+
Restrictions: allow-stderr

debian/tests/examples

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
set -eu
4+
5+
for pkg in examples/*/*/; do
6+
(cd "$pkg" && dpkg-buildpackage --no-sign)
7+
done

0 commit comments

Comments
 (0)