Skip to content

Commit 610e473

Browse files
committed
chore: Add requirements.txt for ci
1 parent 135dea0 commit 610e473

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.cache/
22
.eggs/
3+
build/
34
dist/
45
graphene_mongo.egg-info/
56
*.pyc

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ python:
66
- "3.4"
77
- "3.5"
88
- "3.6"
9-
script: python setup.py test
9+
install:
10+
pip install -r requirements.txt
11+
script: pytest
1012

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
graphene==2.0.1
2+
iso8601==0.1.12
3+
mongoengine==0.15.0
4+
mongomock==3.8.0
5+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
setup_requires=['pytest-runner'],
4242
tests_require=[
4343
'pytest>=3.3.2',
44-
'mongomock>=3.8.0',
44+
'mongomock',
4545
'mock'
4646
],
4747
test_suite="graphene_mongo.tests",

0 commit comments

Comments
 (0)