From 456032c22dcdb54ce8f472cfc23018abe5360ef7 Mon Sep 17 00:00:00 2001 From: Pedro Rodrigues Date: Tue, 18 Apr 2017 23:33:30 +0100 Subject: [PATCH] change travis configuration to use tox to run tests --- .travis.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5932b92..8c1c587 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,17 @@ +sudo: false language: python -python: - - "2.7" - - "3.5" - - "pypy" - - "pypy3" -script: python test_umsgpack.py +install: pip install tox +script: tox + +matrix: + include: + - python: 2.7 + env: TOXENV=py27 + - python: 3.5 + env: TOXENV=py35 + - python: 3.6 + env: TOXENV=py36 + - python: pypy + env: TOXENV=pypy + - python: pypy3 + env: TOXENV=pypy3