Reverse order of tests to avoid incompatibility

If py26 tests are run first, there is a incompatibility in the
.testrepository that breaks several tests.  To get around this, you
need to run the py33 tests first.  This change was made over in the
cliff project.

Before:

    (.venv)terry@brat:~/hp/ncli$ rm -rf .testrepository/
    (.venv)terry@brat:~/hp/ncli$ tox
      ...
      py26: commands succeeded
      py27: commands succeeded
    ERROR:   py33: commands failed
    ERROR:   py34: commands failed
    ERROR:   pypy: commands failed
      pep8: commands succeeded

After:

    (.venv)terry@brat:~/hp/ncli$ rm -rf .testrepository/
    (.venv)terry@brat:~/hp/ncli$ tox
      ...
      py33: commands succeeded
      py34: commands succeeded
      py26: commands succeeded
      py27: commands succeeded
      pypy: commands succeeded
      pep8: commands succeeded
      congratulations :)
    (.venv)terry@brat:~/hp/ncli$

Closes-Bug: 1415446

Change-Id: Ia0b44cc4a05dd1c668204d8d4dce5381d35373fe
This commit is contained in:
Terry Howe 2014-12-23 05:09:42 -07:00
parent ed25cba554
commit 6f7cd14672
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
[tox]
envlist = py26,py27,py33,py34,pypy,pep8
# py3 first to avoid .testrepository incompatibility
envlist = py33,py34,py26,py27,pypy,pep8
minversion = 1.6
skipsdist = True