-
Notifications
You must be signed in to change notification settings - Fork 93
/
.travis.yml
67 lines (59 loc) · 1.59 KB
/
.travis.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: python
python:
- "2.6"
- "2.7"
sudo: false
cache:
directories:
- $HOME/.cache/pip
env:
global:
- PYTHONPATH=~/gaesdk/google_appengine
matrix:
- USE_EXTENSIONS=true # no dependencies
- USE_EXTENSIONS=false # no dependencies
# used as part of the pip command
- DJANGO_VERSION=">=1.2,<1.3"
- DJANGO_VERSION=">=1.3,<1.4"
- DJANGO_VERSION=">=1.4,<1.5"
- DJANGO_VERSION=">=1.5,<1.6"
- DJANGO_VERSION=">=1.6,<1.7"
- DJANGO_VERSION=">=1.7,<1.8"
- DJANGO_VERSION=">=1.8,<1.9"
- DJANGO_VERSION=">=1.9,<2.0"
- SQLALCHEMY_VERSION=">=0.7,<0.8"
- SQLALCHEMY_VERSION=">=0.8,<0.9"
- SQLALCHEMY_VERSION=">=0.9,<1.0"
- TWISTED_VERSION=">=14,<15"
- TWISTED_VERSION=">=15,<16"
- LXML_VERSION=">=3.4,<3.5"
- LXML_VERSION=">=3.5,<3.6"
# special, see install_optional_dependencies.sh
- GAESDK_VERSION=1.9.30
matrix:
exclude:
# Django 1.7 dropped support for python 2.6
- python: "2.6"
env: DJANGO_VERSION=">=1.7,<1.8"
- python: "2.6"
env: DJANGO_VERSION=">=1.8,<1.9"
- python: "2.6"
env: DJANGO_VERSION=">=1.9,<2.0"
# Twisted 15+ dropped support for Python 2.6
- python: "2.6"
env: TWISTED_VERSION=">=15,<16"
# Google AppEngine SDK dropped support for python 2.6
- python: "2.6"
env: GAESDK_VERSION=1.9.30
before_install:
- pip install flake8
- flake8
install:
- pip install coverage coveralls
- pip install -e .
- ./install_optional_dependencies.sh
- ./maybe_install_cython.sh
script:
- coverage run --source=pyamf setup.py test
after_success:
- coveralls