Testing: Create Tox and Travis CI config
This will just build the package and install it for Python 2.7 and 3.4
This commit is contained in:
parent
ea023b429c
commit
07f4152c58
2 changed files with 16 additions and 0 deletions
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
language: python
|
||||
install:
|
||||
- pip install tox
|
||||
script:
|
||||
- tox
|
||||
11
tox.ini
Normal file
11
tox.ini
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Tox (http://tox.testrun.org/) 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]
|
||||
envlist = py27, py34
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
deps =
|
||||
Loading…
Reference in a new issue