diff --git a/.travis.yml b/.travis.yml index 09dbe60..b434792 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,14 +17,12 @@ before_script: install: - "curl https://bootstrap.pypa.io/ez_setup.py -o - | python" - - "pip install pytest" + - "pip install tox-travis" - "pip install ." # command to run tests script: - "export PATH=$PATH:$PWD/tf_bin" - - cd test - - py.test - - cd .. + - tox deploy: # test pypi diff --git a/tox.ini b/tox.ini index bdd1854..9d0b810 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,11 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py27, py3 +envlist = py27, py35 [testenv] deps=pytest -commands=py.test test \ No newline at end of file +commands=py.test test + +[travis] +python = + 2.7: py27 + 3.5: py35 \ No newline at end of file