mailing list mirror (one of many)
 help / Atom feed
* [PATCH] git-ci: use pylint to analyze the git-p4 code
@ 2018-03-12  2:08 Viet Hung Tran
  0 siblings, 0 replies; 1+ messages in thread
From: Viet Hung Tran @ 2018-03-12  2:08 UTC (permalink / raw)
  To: Git List

Add a new job named Pylint to .travis.yml in order to analyze git-p4 Python code.
Although Travis CI have yet to implement continuous integration for multiple
languages. Python package can be installed using apt packages. From there, pylint can be
installed using pip and used to analyze file.

Signed-off-by: Viet Hung Tran <>
 .travis.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 5f5ee4f3b..581d75319 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -46,6 +46,16 @@ matrix:
         - docker
       script: ci/
+    - env: jobname=Pylint
+      compiler:
+      addons:
+        apt:
+          packages:
+          - python
+      before_install:
+      install: pip install --user pylint
+      script: pylint
+      after_failure:
     - env: jobname=StaticAnalysis
       os: linux

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12  2:08 [PATCH] git-ci: use pylint to analyze the git-p4 code Viet Hung Tran mailing list mirror (one of many)

Archives are clonable:
	git clone --mirror
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:
       or Tor2web:

AGPL code for this site: git clone public-inbox