forked from ducksboard/libsaas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (25 loc) · 723 Bytes
/
.travis.yml
File metadata and controls
31 lines (25 loc) · 723 Bytes
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
31
language: python
python:
- 2.6
- 2.7
- 3.2
- pypy
env:
- LIBSAAS_XML_LIBRARY=lxml
- LIBSAAS_XML_LIBRARY=cElementTree
- LIBSAAS_XML_LIBRARY=ElementTree
# lxml won't work on PyPy
matrix:
exclude:
- python: pypy
env: LIBSAAS_XML_LIBRARY=lxml
# force an older version of python-requests, as 0.14.2 doesn't work on Python 3.2
install:
- test "$LIBSAAS_XML_LIBRARY" == "lxml" && sudo apt-get install libxml2-dev libxslt1-dev || true
- test "$LIBSAAS_XML_LIBRARY" == "lxml" && pip install lxml --use-mirrors || true
- pip install requests==0.14.1 --use-mirrors
- pip install requests-oauth==0.4.1 --use-mirrors
script: python setup.py test
notifications:
email:
- hackers@libsaas.net