first* attempt to implement Travis CI

*: and probably unsuccessful. =)
This commit is contained in:
Bora M. Alper 2017-06-05 14:38:36 +03:00
parent 6e0461a4c7
commit ac86d48a31
2 changed files with 18 additions and 1 deletions

17
.travis.yml Normal file
View 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"

View File

@ -291,7 +291,7 @@ no-docstring-rgx=^_
# Minimum line length for functions/classes that require docstrings, shorter
# ones are exempt.
docstring-min-length=-1
docstring-min-length=1000
[ELIF]