Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

One more try on trevis ci

  • Loading branch information...
commit 555560ffee92eaf79fe0d72bbf23f878312334e9 1 parent 2dbefc6
@cezarsa cezarsa authored
Showing with 6 additions and 5 deletions.
  1. +1 −3 .travis.yml
  2. +3 −2 Makefile
  3. +2 −0  test_requirements.txt
View
4 .travis.yml
@@ -2,11 +2,9 @@ language: python
python:
- "2.6"
- - "2.7"
- - "3.2"
# command to install dependencies
-install: "sudo aptitude -y -q install libevent-dev python-opencv libcv-dev libcvaux-dev libhighgui-dev; pip install -r test_requirements.txt --use-mirrors"
+install: "sudo aptitude -y -q install redis-server mongodb libevent-dev python-opencv libcv-dev libcvaux-dev libhighgui-dev; pip install -r test_requirements.txt --use-mirrors"
# command to run tests
script: make test-trevis
View
5 Makefile
@@ -8,8 +8,9 @@ test pyvows: compile_ext redis mongo
@PYTHONPATH=.:$$PYTHONPATH pyvows -v --profile --cover --cover_package=thumbor --cover_threshold=90 vows/
@make kill_mongo kill_redis
-test-trevis: compile_ext
- @PYTHONPATH=.:$$PYTHONPATH pyvows -v vows/
+test-trevis: compile_ext redis mongo
+ @PYTHONPATH=.:$$PYTHONPATH:/usr/local/lib/python2.6/site-packages:/usr/lib/python2.6/site-packages pyvows -v vows/
+ @make kill_mongo kill_redis
mysql_test: pretest
@PYTHONPATH=.:$$PYTHONPATH nosetests -v -s --with-coverage --cover-erase --cover-package=thumbor tests/test_mysql_storage.py
View
2  test_requirements.txt
@@ -3,5 +3,7 @@ pycrypto>=2.4.1,<2.5.0
pycurl>=7.19.0,<7.20.0
pillow>=1.7.5,<1.8.0
simplejson>=2.1.6,<2.2.0
+pymongo==2.1.1
+redis==2.4.9
pyvows
tornado-pyvows
Please sign in to comment.
Something went wrong with that request. Please try again.