Skip to content

Commit 7d737d4

Browse files
committed
Compatibility with fake-factory 0.5.3
1 parent 7efa8af commit 7d737d4

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ env:
3434
- TOXENV=nose
3535
- TOXENV=pytest27
3636
- TOXENV=pytest26
37+
- TOXENV=fakefactory052
38+
- TOXENV=fakefactory053
39+
- TOXENV=pytest26
3740

3841
install:
3942
- ./scripts/install.sh
@@ -43,6 +46,10 @@ script:
4346

4447
matrix:
4548
exclude:
49+
- os: osx
50+
env: TOXENV=fakefactory052
51+
- os: osx
52+
env: TOXENV=fakefactory053
4653
- os: osx
4754
env: TOXENV=pytest26
4855
- os: osx

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run_tests(self):
5050

5151
extras = {
5252
'datetime': ["pytz"],
53-
'fakefactory': ["fake-factory==0.5.2"],
53+
'fakefactory': ["fake-factory>=0.5.2,<=0.5.3"],
5454
'django': ['pytz', 'django>=1.7'],
5555
'numpy': ['numpy>=1.9.0'],
5656
'pytest': ['pytest>=2.7.0'],

tox.ini

+16
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@ commands =
1919
bash scripts/basic-test.sh
2020

2121

22+
[testenv:fakefactory052]
23+
basepython=python3.5
24+
deps =
25+
pytest
26+
commands =
27+
pip install --no-use-wheel fake-factory==0.5.2
28+
python -m pytest tests/fakefactory
29+
30+
[testenv:fakefactory053]
31+
basepython=python3.5
32+
deps =
33+
pytest
34+
commands =
35+
pip install --no-use-wheel fake-factory==0.5.3
36+
python -m pytest tests/fakefactory
37+
2238
[testenv:django17]
2339
basepython=python3.4
2440
commands =

0 commit comments

Comments
 (0)