diff --git a/.travis.yml b/.travis.yml index 9a356c9ed..1aaed64e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,33 @@ # -*- coding: utf-8 -*- ## ## This file is part of Invenio. -## Copyright (C) 2013 CERN. +## Copyright (C) 2013, 2014 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. notifications: email: false + +python: + - "2.6" + +install: + - sudo apt-get update + - git clone https://github.com/tiborsimko/invenio-devscripts /tmp/invenio-devscripts + - CFG_INVENIO_SRCDIR=$(pwd) /tmp/invenio-devscripts/invenio-kickstart --yes-i-know --yes-i-really-know + +script: + - sudo -u www-data nosetests /opt/invenio/lib/python/invenio/*_unit_tests.py + - sudo -u www-data nosetests /opt/invenio/lib/python/invenio/*_regression_tests.py diff --git a/requirements-extras.txt b/requirements-extras.txt new file mode 100644 index 000000000..2a731b8a1 --- /dev/null +++ b/requirements-extras.txt @@ -0,0 +1,17 @@ +# More requirements files are needed, since e.g gnuplot-py and h5py +# import numpy in their setup.py, which means they have to be +# installed in a second step. +gnuplot-py==1.8 + +# Following packages are optional (if you do development you probably want to install them): +pylint +http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download +pep8 +selenium +winpdb +mock +ipython +cython +nose +nosexcover +flake8 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..a200dbd1f --- /dev/null +++ b/requirements.txt @@ -0,0 +1,27 @@ +# Invenio requirements. +MySQL-python==1.2.4 +rdflib==2.4.2 +reportlab==2.5 +python-dateutil<=1.9999 +python-magic==0.4.2 +http://www.reportlab.com/ftp/pyRXP-1.16-daily-unix.tar.gz +numpy==1.7.0 +lxml==3.1.2 +mechanize==0.2.5 +python-Levenshtein==0.10.2 +pyPdf==1.13 +PyStemmer==1.3.0 +https://py-editdist.googlecode.com/files/py-editdist-0.3.tar.gz +feedparser==5.1.3 +BeautifulSoup==3.2.1 +beautifulsoup4==4.1.3 +python-twitter==0.8.7 +msgpack-python==0.3.0 +pyparsing==1.5.6 +requests +PyPDF2 +rauth +unidecode +python-openid +qrcode +PIL