Skip to content

Commit

Permalink
Add simple test
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
atodorov committed Jan 4, 2018
1 parent 9d6337e commit a4bbe86
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
env:
- PYLINT=1.8.1
- PYLINT=github
install:
- "pip install coverage coveralls"
- "pip install --editable ."
- |
pip install coverage coveralls
if [ "$PYLINT" == "github" ]; then
pip install https://github.com/PyCQA/astroid/zipball/master
pip install https://github.com/PyCQA/pylint/zipball/master
else
pip install pylint==$PYLINT
fi
script:
true
- coverage run tests.py
after_success:
- coveralls
1 change: 1 addition & 0 deletions tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import pylint_plugin_utils

0 comments on commit a4bbe86

Please sign in to comment.