Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add CI checks for pylint
- Loading branch information
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| language: cpp | ||
| os: linux | ||
|
|
||
| jobs: | ||
| include: | ||
| # 18.04/bionic | ||
| - os: linux | ||
| compiler: gcc | ||
| dist: bionic | ||
|
|
||
| # 20.04/focal | ||
| - os: linux | ||
| compiler: gcc | ||
| dist: focal | ||
|
|
||
| before_install: | ||
| - bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh | ||
|
|
||
| install: | ||
| - bash ${TRAVIS_BUILD_DIR}/.travis/install.sh | ||
|
|
||
| script: | ||
| - make | ||
| - bash ${TRAVIS_BUILD_DIR}/.travis/script.sh | ||
|
|
||
| #notifications: | ||
| #email: true | ||
| #irc: "ircs://chat.freenode.net:7070/#kxstudio" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -e | ||
|
|
||
| # sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio | ||
| # sudo add-apt-repository -y ppa:kxstudio-debian/toolchain | ||
|
|
||
| sudo apt-get update -qq | ||
| # sudo apt-get install kxstudio-repos | ||
| # sudo apt-get update -qq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -e | ||
|
|
||
| sudo apt-get install -y \ | ||
| pylint3 \ | ||
| python3-dbus.mainloop.pyqt5 \ | ||
| python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtopengl \ | ||
| pyqt5-dev-tools \ | ||
| qtbase5-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -e | ||
|
|
||
| if which pylint3 >/dev/null; then | ||
| pylint='pylint3' | ||
| else | ||
| pylint='pylint' | ||
| fi | ||
|
|
||
| ${pylint} \ | ||
| --extension-pkg-whitelist=dbus.mainloop.pyqt5,PyQt5 \ | ||
| -E \ | ||
| --disable=unsubscriptable-object \ | ||
| src/*.py |