Run pylint after the main tests are complete
This commit is contained in:
parent
b9e0409350
commit
f9bca7c675
3 changed files with 10 additions and 6 deletions
|
@ -13,3 +13,10 @@ env:
|
|||
- secure: "YdUPDO7sTUTG2EwUlrxwOWKhlGXJiIK+RBWDspqvM8UQV4CQjzIsRX8urUIN\nSpSjJOfbIw25S+AsLpEBye8OJMncm/16Xp7PL5tlkNmRC12mPVG8f+wpOkrW\nt8v+2Cv/prYDn0tjoqnV1f5Nv5cEW6kAkG19UQ4QBgQzirtrs9Y="
|
||||
|
||||
script: .travis/run_travis
|
||||
|
||||
after_script:
|
||||
# Run Pylint
|
||||
# (for information only, any errors don't affect the Travis result)
|
||||
- pylint --use-ignore-patch=y openphoto
|
||||
- pylint --use-ignore-patch=y tests
|
||||
|
||||
|
|
|
@ -6,3 +6,6 @@ wget https://bitbucket.org/sneakypete81/pylint/get/$HG_HASH.zip
|
|||
unzip $HG_HASH.zip
|
||||
cd sneakypete81-pylint-$HG_HASH
|
||||
python setup.py install
|
||||
|
||||
cd ..
|
||||
rm -r sneakypete81-pylint-$HG_HASH
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run Pylint
|
||||
# (for information only, any errors don't affect the Travis result)
|
||||
|
||||
pylint --use-ignore-patch=y openphoto
|
||||
pylint --use-ignore-patch=y tests
|
||||
|
||||
# Create a config file containing the test host's secrets
|
||||
|
||||
CONFIG_DIR=~/.config/openphoto
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue