blob: 89a61329b838ab0c3cb85c1d284aa94eba52b773 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
install:
- python -c "import sys; sys.exit(sys.version_info[:2] != (3,2))" 2>/dev/null || pip install -U pip wheel
- pip install --install-option="--no-cython-compile" -r requirements.txt
- pip install -U beautifulsoup4 cssselect
script:
- python -u setup.py clean
- CFLAGS="-O0 -g" python -u setup.py build_ext --inplace
- CFLAGS="-O0 -g" PYTHONUNBUFFERED=x make test
matrix:
allow_failures:
- python: pypy
- python: pypy3
cache:
directories:
- $HOME/.cache/pip
|