-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 858 Bytes
/
.travis.yml
File metadata and controls
32 lines (32 loc) · 858 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
32
language: python
python:
- 2.6
- 2.7
env:
- PLONE_VERSION=4.0
- PLONE_VERSION=4.1
- PLONE_VERSION=4.2
- PLONE_VERSION=4.3
matrix:
exclude:
- python: 2.7
env: PLONE_VERSION=4.0
- python: 2.7
env: PLONE_VERSION=4.1
- python: 2.6
env: PLONE_VERSION=4.2
- python: 2.6
env: PLONE_VERSION=4.3
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libjpeg-dev libgif-dev libpng-dev libz-dev
- pip install https://github.com/python-imaging/Pillow/archive/2.0.0.zip
install:
- sed -ie "s#travis-4.x.cfg#travis-$PLONE_VERSION.x.cfg#" travis.cfg
- mkdir -p buildout-cache/downloads
- pip install -r requirements-$PLONE_VERSION.txt
- buildout -qNc travis.cfg -t 3
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: bin/test