Test Weboob modules with CI
This commit is contained in:
parent
56f5fdf1b2
commit
5aff18e106
@ -16,3 +16,20 @@ lint:3:
|
|||||||
stage: "test"
|
stage: "test"
|
||||||
script:
|
script:
|
||||||
- "hooks/pre-commit"
|
- "hooks/pre-commit"
|
||||||
|
|
||||||
|
check_weboob:2.7:
|
||||||
|
image: "python:2.7"
|
||||||
|
stage: "test"
|
||||||
|
before_script:
|
||||||
|
# Only execute on scheduled CI
|
||||||
|
- if [ -z "${RUN_WEBOOB_TESTS}" ]; then exit; done
|
||||||
|
# Install weboob deps
|
||||||
|
- apt-get update && apt-get install -y git libffi-dev libxml2-dev libxslt-dev libyaml-dev libtiff-dev libjpeg-dev zlib1g-dev libfreetype6-dev libwebp-dev build-essential gcc g++ wget
|
||||||
|
- pip install -U setuptools
|
||||||
|
- pip install html2text simplejson BeautifulSoup nose
|
||||||
|
# Install weboob
|
||||||
|
- git clone https://git.weboob.org/weboob/devel.git weboob
|
||||||
|
- cd weboob; pip install .
|
||||||
|
script:
|
||||||
|
- if [ -z "${RUN_WEBOOB_TESTS}" ]; then exit; done
|
||||||
|
- python -m nose -c /dev/null -v modules/{entreparticuliers,explorimmo,foncia,leboncoin,logicimmo,pap,seloger}/test.py
|
||||||
|
Loading…
Reference in New Issue
Block a user