forked from collective/collective.plonetruegallery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 700 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 700 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
language: python
python: 2.7
env:
- PLONE_VERSION=4.2
- PLONE_VERSION=4.3 QA=true
matrix:
include:
- python: 2.6
env: PLONE_VERSION=4.1
allow_failures:
- python: 2.6
env: PLONE_VERSION=4.1
- python: 2.7
env: PLONE_VERSION=4.2
install:
- sed -ie "s#travis-4.x.cfg#travis-$PLONE_VERSION.x.cfg#" travis.cfg
- mkdir -p buildout-cache/downloads
- python bootstrap.py -c travis.cfg
- bin/buildout -c travis.cfg annotate
- bin/buildout -c travis.cfg -N -q
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script: bin/code-analysis && bin/test
after_success: test $QA && bin/coverage.sh && pip install -q coveralls && coveralls || true