Skip to content

Commit f576976

Browse files
Merge pull request #17 from seglberg/develop
Merged compatibility patch for Eve 0.5.3.
2 parents 2968d0b + 5fc9071 commit f576976

File tree

17 files changed

+327
-463
lines changed

17 files changed

+327
-463
lines changed

.gitignore

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
*.py[cod]
1+
/.project
2+
/.pydevproject
3+
/.settings
4+
.ropeproject
25

3-
# C extensions
4-
*.so
6+
# Eve
7+
run.py
8+
settings.py
9+
10+
# Python
11+
*.py[co]
12+
13+
# Gedit
14+
*~
515

616
# Packages
717
*.egg
@@ -15,30 +25,38 @@ var
1525
sdist
1626
develop-eggs
1727
.installed.cfg
18-
lib
19-
lib64
20-
__pycache__
28+
.eggs
2129

2230
# Installer logs
2331
pip-log.txt
2432

2533
# Unit test / coverage reports
2634
.coverage
2735
.tox
28-
nosetests.xml
2936

30-
# Translations
37+
#Translations
3138
*.mo
3239

33-
# Mr Developer
40+
#Mr Developer
3441
.mr.developer.cfg
35-
.project
36-
.pydevproject
3742

38-
# Vim
39-
.swp
43+
# SublimeText project files
44+
*.sublime-*
45+
46+
# vim temp files
47+
*.swp
48+
49+
#virtualenv
50+
Include
51+
Lib
52+
Scripts
53+
54+
#OSX
55+
.Python
56+
.DS_Store
57+
58+
#Sphinx
59+
_build
4060

41-
# Documentation
42-
docs/_build
43-
docs/_static
44-
docs/_templates
61+
# PyCharm
62+
.idea

.travis.yml

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
11
language: python
2+
services: mongodb
23
python:
3-
- "3.3"
4-
- "2.7"
4+
- '2.7'
5+
- '3.3'
6+
- '3.4'
7+
- pypy
8+
- pypy3
9+
env:
10+
- EVE=0.5.3 MONGOENGINE=0.8.7
11+
- EVE=0.5.3 MONGOENGINE=0.9
12+
- EVE=0.5.3 MONGOENGINE=dev
13+
- EVE=prod MONGOENGINE=0.8.7
14+
- EVE=prod MONGOENGINE=0.9
15+
- EVE=prod MONGOENGINE=dev
16+
- EVE=dev MONGOENGINE=0.8.7
17+
- EVE=dev MONGOENGINE=0.9
18+
- EVE=dev MONGOENGINE=dev
19+
matrix:
20+
allow_failures:
21+
- python: pypy3
22+
fast_finish: true
523
install:
6-
- pip install flake8
7-
- pip install -r requirements.txt
8-
script:
9-
- flake8 eve_mongoengine
10-
- python setup.py test
11-
services:
12-
- mongodb
13-
before_script:
14-
- "ulimit -n 1024"
15-
- mongo eve_test --eval 'db.addUser("test_user", "test_pw");'
16-
branches:
17-
only:
18-
- master
24+
- sudo apt-get install python-dev python3-dev
25+
- if [[ $EVE == 'dev' ]]; then travis_retry pip install https://github.com/nicolaiarocci/eve/tarball/develop;
26+
elif [[ $EVE == 'prod' ]]; then travis_retry pip install https://github.com/nicolaiarocci/eve/tarball/master;
27+
else travis_retry pip install eve==$EVE;
28+
fi
29+
- if [[ $MONGOENGINE == 'dev' ]]; then travis_retry pip install https://github.com/MongoEngine/mongoengine/tarball/master;
30+
else travis_retry pip install mongoengine==$MONGOENGINE;
31+
fi
32+
- travis_retry python setup.py install
33+
script:
34+
- travis_retry python setup.py test

README.md

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)