Commit Graph

14 Commits

Author SHA1 Message Date
Tim Burke db047a71e9 Fix tox.ini to work with tox4
Also, update our minversion to match swift.

Change-Id: I3d0cd6ef11f010f79367598dbb242121c7348d4d
2023-02-17 09:28:48 -08:00
HeroicHitesh 7d3192cdee Migrate from testr to stestr
Replace .testr.conf by .stestr.conf for migration and update
.gitignore, tox.ini and test-requirements.txt files accordingly

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I0948bd22e257285c77fb61564684ab31080ecf54
2021-06-30 19:21:39 -07:00
zhangboye 9d708e6c90 Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I8225f85caa5db84d10eef91a7948306d98ba8962
2021-06-30 18:19:51 -07:00
Tim Burke 7d0046069a Drop testing for py27
Change-Id: Ib04148b0705beb6ae0e3d2bf6b80df0e6387a31d
2020-07-16 15:06:18 -07:00
Tim Burke f221632a82 Port to py3
Change-Id: Ib86178259f854c15dd305dd39779a203cafb0451
2019-08-29 13:16:33 -07:00
reedip b6b1e42fce Remove support for py33/py26
Python 3.3/Python 2.6 is not supported from Mitaka, as per Infra.
The following patch removes the support for the same.

Change-Id: I7c8a1a39f0e86cbd38466c2dcd611a8f513c8adc
Closes-Bug: #1526170
2016-09-10 04:11:32 +00:00
Janonymous 9e41cb329d Put py34 first in the env order of tox
To solve the problem of "db type could not be determined" on
py34 we have to run py34 env before py27.
This patch puts py34 first on the tox.ini's list of envs
to avoid this problem to happen.

Change-Id: Ife0c57c0d92d41018862aad744ef9af65ef87b21
Closes-bug: #1489059
2016-01-28 08:40:34 +00:00
dharmendra 4d9148b04b Pass environment variables of proxy to tox
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fixes this problem.

Change-Id: I5382f1b2100ba15fb4a6f501d3885984a68579ab
2016-01-06 16:58:42 +05:30
Ondřej Nový 815486005d Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I1fe8420806ea45ebc3d455f281bdbe49e0d94e7c
2015-12-11 21:28:20 +01:00
Jeremy Stanley a8e161ba70 Work toward Python 3.4 support and testing
Change-Id: I68943058d613387ea5bb675dc720148318989afd
2014-09-03 19:06:14 +00:00
Jeremy Stanley fe7206cdc0 Remove tox locale overrides
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.

Change-Id: Idc298cccd88eb7c929a648e31e129d4355ef7270
Closes-Bug: #1277495
2014-02-10 03:12:08 +00:00
Chmouel Boudjnah cfb50967ae Add MANIFEST.in
- minVersion to 1.6 for tox as well to get a much faster run.

Closes-Bug: #1269054
Change-Id: I8bbb74fc515dd3f8ac05ee258a58cd19d6d09c58
2014-01-24 07:52:30 +01:00
Chmouel Boudjnah 730883957d Use nosetests for coverage in tox.ini
I can't seem to figure out how to have testr and coverage working
properly without pbr so let's use nosetests for it.

Change-Id: Id0f2fc348dc822af9189178b518d2dda711b060c
2013-11-26 22:16:56 +01:00
Chmouel Boudjnah 64b976e139 Add plumbing.
- Update .gitignore to ignore all testrunners.
- Move swift-bench to swiftbench.
- Move tests to tests/
- Add some simple {test-,}requirements (more works needs to be done to get proper versioning)

Change-Id: Iab4d65f02cbce8c99ecafa30d15c4cb11f0b4293
2013-11-21 14:09:47 -08:00