From 1f2cbfc0dea0b52fdfc7fbaac834f6f8aa5cc68c Mon Sep 17 00:00:00 2001 From: Richard Date: Fri, 11 Sep 2015 13:03:18 +0200 Subject: [PATCH] add travis config with two tox envs for py27 and py34 --- .travis.yml | 8 ++++++++ tox.ini | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b444031 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: python +install: + - pip install tox +script: + - tox -e $TOX_ENV +env: + - "TOXENV=py34" + - "TOXENV=py27" diff --git a/tox.ini b/tox.ini index 73b1a22..9ec3ce8 100644 --- a/tox.ini +++ b/tox.ini @@ -5,3 +5,9 @@ skipsdist = True [testenv] usedevelop = True commands = python runtests.py + +[testenv:py27] +basepython = python2.7 + +[testenv:py34] +basepython = python3.4