From e0fd024f8e957a33c3e0633b74bec6df9b8b6362 Mon Sep 17 00:00:00 2001 From: Chris Targett Date: Wed, 27 Dec 2017 17:27:50 +0000 Subject: [PATCH] Added travis.yml and tox config --- .gitignore | 3 +++ .travis.yml | 10 ++++++++++ tox.ini | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 .travis.yml create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index bee8a64..88b492f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ __pycache__ +.eggs +.tox +*.egg-info diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0bb6ff0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +sudo: false +language: python +python: +- '2.6' +- '2.7' +- '3.4' +- '3.5' +- '3.6' +install: pip install tox-travis +script: tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..c7f9821 --- /dev/null +++ b/tox.ini @@ -0,0 +1,7 @@ +[tox] +envlist = py26,py27,py34,py35,py36 + +[testenv] +deps= + pytest +commands=py.test