]> git.parisson.com Git - django_quiz.git/commitdiff
egg building and installation is added to travis.yml
authorРустам Кашапов <rrKashapov@bars-open.ru>
Fri, 3 Oct 2014 05:41:37 +0000 (09:41 +0400)
committerРустам Кашапов <rrKashapov@bars-open.ru>
Fri, 3 Oct 2014 05:41:37 +0000 (09:41 +0400)
.travis.yml
setup.py

index 8e925799052575963226b0cfd1b819884b3b5340..34278d9e848cc8b826731be9012938d9bc52f0c3 100644 (file)
@@ -8,6 +8,8 @@ env:
 
 
 install:
+  -  python setup.py bdist_egg
+  -  easy_install "dist/$(ls dist)"
   -  pip install -r requirements.txt
 script:
-  -  python setup.py test
\ No newline at end of file
+  -  python setup.py test
index 35be3a1158b03e98ea93363fd8f32dd26d41ce5a..aa19d565ac4481f669f8a5ee5b2378c63cb6fa25 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup(
     ],
     install_requires=[
         'django-model-utils == 2.0.3',
-        'Django >= 1.5.1',
+        'Django >= 1.5.1, <= 1.7',
         'Pillow == 2.5.0'
     ],
     test_suite='runtests.runtests'