Skip to content

Commit

Permalink
Enable Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Apr 17, 2016
1 parent 39b2081 commit f41d813
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: python

matrix:
include:
- python: 2.6 # these are just to make travis's UI a bit prettier
env: TOXENV=py26
- python: 2.7
env: TOXENV=py27
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: nightly
env: TOXENV=py36
- python: pypy
env: TOXENV=pypy
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
[tox]
envlist = py27, pypy, py34, py35, pypy3
envlist = py26, py27, pypy, py33, py34, py35, py36, pypy3
skip_missing_interpreters = True

[testenv]
commands = {envpython} test_contextlib2.py

[testenv:py26]
deps = unittest2

[testenv:py27]
deps = unittest2

[testenv:pypy]
deps = unittest2

[testenv:pypy3]
# Known incompatibility: https://bitbucket.org/pypy/pypy/issues/1903
ignore_outcome = True

0 comments on commit f41d813

Please sign in to comment.