From 593f94a0427d55af1dbd43af0866ad295299cfe3 Mon Sep 17 00:00:00 2001 From: Alex Mykyta Date: Wed, 16 Sep 2020 21:50:28 -0700 Subject: [PATCH] add lint test --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index ba7f53a..8d907de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ python: - 3.8 stages: + - lint # Only execute deployment stage on tagged release commits in the form of "v1.2.3" # and from your repository (e.g. not PRs). # Also allows alpha/beta releases such as "v1.2.3b2" @@ -11,6 +12,14 @@ stages: jobs: include: + # Run lint + - stage: lint + name: Lint + install: + - python -m pip install pylint + - python -m pip install . + script: pylint rdl_pygments + # Deploy source distribution - stage: deploy name: Deploy source distribution