2015-10-19 14:19:41 +00:00
|
|
|
sudo: required
|
2014-02-13 21:39:38 +00:00
|
|
|
|
2016-11-14 10:31:50 +00:00
|
|
|
env:
|
2016-11-18 16:42:45 +00:00
|
|
|
- TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/" TRAVIS_DEBIAN_SECURITY_UPDATES=false
|
|
|
|
- TRAVIS_DEBIAN_DISTRIBUTION=testing TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/"
|
|
|
|
- TRAVIS_DEBIAN_DISTRIBUTION=stable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/"
|
2014-02-16 22:45:22 +00:00
|
|
|
|
2016-11-14 10:31:50 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2014-02-13 21:39:38 +00:00
|
|
|
|
2016-11-18 16:42:45 +00:00
|
|
|
before_script:
|
|
|
|
# fetch all tags (not done due travis cloning with depth=50)
|
|
|
|
- git fetch --tags
|
|
|
|
|
2014-02-13 21:39:38 +00:00
|
|
|
script:
|
2016-11-14 10:31:50 +00:00
|
|
|
# build the debian package
|
|
|
|
- wget -O- http://travis.debian.net/script.sh | sh -
|
2014-02-13 21:39:38 +00:00
|
|
|
|
2014-02-25 13:06:45 +00:00
|
|
|
after_script:
|
2016-11-14 10:31:50 +00:00
|
|
|
# run lintian after build
|
2016-11-18 17:03:27 +00:00
|
|
|
- sudo add-apt-repository -y ppa:waja/trusty-backports
|
|
|
|
- sudo apt-get update -qq
|
2016-11-14 10:31:50 +00:00
|
|
|
- sudo apt-get install -qq --no-install-recommends lintian
|
|
|
|
- lintian --info --display-info --display-experimental --pedantic --show-overrides ../*.deb && lintian --info --display-info --display-experimental --pedantic --show-overrides ../*.dsc
|
2015-03-15 15:46:01 +00:00
|
|
|
|
2014-02-13 21:39:38 +00:00
|
|
|
#notifications:
|
|
|
|
# email: false
|
2016-11-14 10:31:50 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /^debian\/\d/
|