Skip to content

Commit 8634a4d

Browse files
author
Gauvain Pocentek
committed
setup tox for py27 and py34 tests
1 parent 03bbfa0 commit 8634a4d

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ MANIFEST
66
*.egg-info
77
.idea/
88
docs/_build
9+
.testrepository/

.testr.conf

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[DEFAULT]
2+
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./gitlab/tests $LISTOPT $IDOPTION
3+
test_id_option=--load-list $IDFILE
4+
test_list_option=--list

gitlab/tests/__init__.py

Whitespace-only changes.

test-requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
discover
2+
testrepository
13
hacking>=0.9.2,<0.10
4+
httmock
25
sphinx>=1.1.2,!=1.2.0,<1.3

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = pep8
4+
envlist = py27,py34,pep8
55

66
[testenv]
77
setenv = VIRTUAL_ENV={envdir}

0 commit comments

Comments
 (0)