aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-10-04 12:09:08 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-10-04 12:09:08 -0500
commitba1e89cf8100c83856ab8a6850d03db456d73c02 (patch)
treea02055bb8238772d439e979c17231abe83d6bac8
parent4ca6d852909b997c7a188438a62918bc9166a368 (diff)
downloaduritemplates-ba1e89cf8100c83856ab8a6850d03db456d73c02.tar.gz
Update Travis and tox config
-rw-r--r--.travis.yml39
-rw-r--r--tox.ini16
2 files changed, 44 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index bf6b829..9f3445d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,32 @@
language: python
-python:
- - 2.6
- - 2.7
- - 3.2
- - 3.3
- - 3.4
- - pypy
+
+matrix:
+ include:
+ - python: 2.6
+ env: TOXENV=py26
+ - python: 2.7
+ env: TOXENV=py27
+ - python: 3.2
+ env: TOXENV=py32
+ - python: 3.3
+ env: TOXENV=py33
+ - python: 3.4
+ env: TOXENV=py34
+ - python: 3.5
+ env: TOXENV=py35
+ - env: TOXENV=pep8
+
+install:
+ - pip install tox
+
script:
- python test_uritemplate.py
+ - tox
+
notifications:
- on_success: change
- on_failure: change
+ on_success: change
+ on_failure: change
+ irc:
+ channels:
+ - "irc.freenode.org#github3.py"
+ user_notice: true
+ skip_join: true
diff --git a/tox.ini b/tox.ini
index 1234a0e..c2c4dbd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,4 +1,18 @@
[tox]
-envlist = py26,py27,py32,py33
+envlist =
+ py26,
+ py27,
+ py32,
+ py33,
+ py34,
+ py35,
+ pep8,
+
[testenv]
commands = python test_uritemplate.py
+
+[testenv:pep8]
+deps =
+ flake8
+commands =
+ flake8 {posargs} .