[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 05/05: .travis.yml: Only run lintian if the build succeeds



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit e37bd4d125abcdd5dac6392c028d33ad47ec888f
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Mar 24 17:59:34 2014 +0100

    .travis.yml: Only run lintian if the build succeeds
    
    Also, run the current lintian on itself instead of installing the
    Ubuntu from the repositories.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 .travis.yml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3ea3c71..0fcb009 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,10 +20,7 @@ install:
 script:
     # build the debian package
     - debuild -uc -us
-
-after_script:
     # run lintian after build
-    - 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
+    - frontend/lintian -EviIL +pedantic --show-overrides || [ "$?" = 1 ]
 #notifications:
 #  email: false

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: