forked from ealcobaca/pymfe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 997 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install:
- make install-dev
env:
global:
- SOURCE_FILES=`find ./pymfe/ -name '*.py'`
- TEST_FILES=./tests/
# Disabled messages in Pylint
# C0103: Argument name "example" doesn't conform to snake_case naming style
# R0913: Too many arguments
# R0902: Too many instance attributes
# R0914: Too many local variables
# C0302: Too many lines in module
# R0904: Too many public methods
# R0801: Similar lines in "x" files
# E1101: Module 'patsy' has no 'dmatrix' member (need to be fixed?)
#
script:
- mypy $SOURCE_FILES --ignore-missing-imports
- pylint $SOURCE_FILES -j 0 -d 'C0103, R0913, R0902, R0914, C0302, R0904, R0801, E1101, C0330, E1136'
- pytest tests/ -n auto --showlocals -v --cov=pymfe/
- make html
notifications:
email:
on_success: never
on_failure: never
after_success:
- bash <(curl -s https://codecov.io/bash)