Skip to content

Commit a4bbe86

Browse files
committed
Add simple test
- add simple import test for now - collect coverage and report it to coveralls - don't test with Python 2.6 and 3.3 which aren't supported by pylint - add latest and upstream versions of pylint to test matrix
1 parent 9d6337e commit a4bbe86

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

.travis.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
language: python
22
python:
3-
- "2.6"
43
- "2.7"
5-
- "3.3"
64
- "3.4"
75
- "3.5"
86
- "3.6"
7+
env:
8+
- PYLINT=1.8.1
9+
- PYLINT=github
910
install:
10-
- "pip install coverage coveralls"
11-
- "pip install --editable ."
11+
- |
12+
pip install coverage coveralls
13+
if [ "$PYLINT" == "github" ]; then
14+
pip install https://github.com/PyCQA/astroid/zipball/master
15+
pip install https://github.com/PyCQA/pylint/zipball/master
16+
else
17+
pip install pylint==$PYLINT
18+
fi
19+
1220
script:
13-
true
21+
- coverage run tests.py
22+
after_success:
23+
- coveralls

tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import pylint_plugin_utils

0 commit comments

Comments
 (0)