Skip to content

Commit

Permalink
Add tox and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
NotSqrt committed Nov 23, 2015
1 parent a20c9a7 commit 55e4aae
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.swp
*.egg-info
*.pyc
.tox
.coverage
htmlcov
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: python

sudo: false

python:
- 2.7
- 3.3
- 3.4
- 3.5

install:
- pip install coveralls -e .

script:
- coverage run --source=mattermost_gitlab,tests tests/test.py

after_success:
- coveralls --verbose
18 changes: 18 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
minversion=1.8.0
envlist =
py27,
py33,
py34,
py35,

[testenv]
commands = coverage run --source=mattermost_gitlab,tests tests/test.py
deps =
coverage

0 comments on commit 55e4aae

Please sign in to comment.