2014-02-12 16:15:00 +01:00
|
|
|
language: python
|
|
|
|
python:
|
2014-02-18 08:59:01 +01:00
|
|
|
- 2.7
|
2014-02-12 16:15:00 +01:00
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
2014-02-26 10:21:52 +01:00
|
|
|
install:
|
|
|
|
- pip install python-coveralls
|
2014-06-10 16:08:20 +02:00
|
|
|
- pip install pycurl
|
|
|
|
- pip install urlgrabber
|
2014-02-26 10:21:52 +01:00
|
|
|
- pip install -r requirements.txt
|
2014-03-28 16:54:50 +01:00
|
|
|
- sudo mkdir -p /var/cache/repo-checker
|
|
|
|
- sudo chown $USER /var/cache/repo-checker
|
2014-02-12 16:15:00 +01:00
|
|
|
# command to run tests, e.g. python setup.py test
|
2014-02-26 10:21:52 +01:00
|
|
|
script:
|
2014-06-23 15:03:16 +02:00
|
|
|
- nosetests --with-coverage --cover-package=osclib --cover-inclusive
|
2014-02-26 10:50:38 +01:00
|
|
|
after_success:
|
2014-02-26 10:21:52 +01:00
|
|
|
- coveralls
|