first* attempt to implement Travis CI
*: and probably unsuccessful. =)
This commit is contained in:
parent
6e0461a4c7
commit
ac86d48a31
17
.travis.yml
Normal file
17
.travis.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "3.5"
|
||||||
|
- "3.6.2" # versions 3.6.0 and 3.6.1 have bugs that affect magneticod
|
||||||
|
|
||||||
|
# We explicitly state that sudo should NOT be required to compile, test, and run magnetico
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
install:
|
||||||
|
- "pip3 install --user ./magneticod"
|
||||||
|
- "pip3 install --user ./magneticow"
|
||||||
|
|
||||||
|
script:
|
||||||
|
- "pylint ./magneticod/magneticod"
|
||||||
|
- "pylint ./magneticow/magneticow"
|
||||||
|
- "mypy ./magneticod/magneticod"
|
||||||
|
- "mypy ./magneticow/magneticow"
|
2
pylintrc
2
pylintrc
@ -291,7 +291,7 @@ no-docstring-rgx=^_
|
|||||||
|
|
||||||
# Minimum line length for functions/classes that require docstrings, shorter
|
# Minimum line length for functions/classes that require docstrings, shorter
|
||||||
# ones are exempt.
|
# ones are exempt.
|
||||||
docstring-min-length=-1
|
docstring-min-length=1000
|
||||||
|
|
||||||
|
|
||||||
[ELIF]
|
[ELIF]
|
||||||
|
Loading…
Reference in New Issue
Block a user