update .travis.yml to use a matrix of versions in build

This commit is contained in:
Michael Billington 2016-03-19 22:14:37 +11:00
parent 8b454c4765
commit 8596148271
1 changed files with 9 additions and 1 deletions

View File

@ -1,8 +1,16 @@
language: python
sudo: false
cache: pip
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
before_install:
- pip install tox
# command to run tests
script:
- tox
- tox