travis-ci: Reduce complexity
This commit is contained in:
parent
094efe4471
commit
e4d7fd6be9
17
.travis.yml
17
.travis.yml
|
@ -3,30 +3,19 @@ dist: trusty
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/" TRAVIS_DEBIAN_EXTRA_REPOSITORY="http://httpredir.debian.org/debian/ jessie main" TRAVIS_DEBIAN_SECURITY_UPDATES=false
|
- env: TRAVIS_DEBIAN_DISTRIBUTION=unstable
|
||||||
- env: TRAVIS_DEBIAN_DISTRIBUTION=testing TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/" TRAVIS_DEBIAN_EXTRA_REPOSITORY="http://httpredir.debian.org/debian/ jessie main"
|
- env: TRAVIS_DEBIAN_DISTRIBUTION=testing
|
||||||
- env: TRAVIS_DEBIAN_DISTRIBUTION=stable TRAVIS_DEBIAN_MIRROR="http://httpredir.debian.org/debian/"
|
- env: TRAVIS_DEBIAN_DISTRIBUTION=stable
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: TRAVIS_DEBIAN_DISTRIBUTION=stable
|
- env: TRAVIS_DEBIAN_DISTRIBUTION=stable
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_script:
|
|
||||||
# fetch all tags (not done due travis cloning with depth=50)
|
|
||||||
- git fetch --tags
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build the debian package
|
# build the debian package
|
||||||
- wget -O- http://travis.debian.net/script.sh | sh -
|
- wget -O- http://travis.debian.net/script.sh | sh -
|
||||||
|
|
||||||
after_script:
|
|
||||||
# run lintian after build
|
|
||||||
- sudo add-apt-repository -y ppa:waja/trusty-backports
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
- 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
|
|
||||||
|
|
||||||
#notifications:
|
#notifications:
|
||||||
# email: false
|
# email: false
|
||||||
|
|
||||||
|
|
2
debian/gbp.conf
vendored
Normal file
2
debian/gbp.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[git-buildpackage]
|
||||||
|
postbuild = lintian --info --display-info --display-experimental --pedantic --show-overrides $GBP_CHANGES_FILE
|
Loading…
Reference in a new issue