forked from collective/collective.easyform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 905 Bytes
/
.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
language: python
sudo: false
cache:
pip: true
directories:
- eggs
- downloads
addons:
# XXX: use an older Firefox ESR as we are stuck with selenium = 2.53.5
# https://github.com/SeleniumHQ/selenium/issues/2739#issuecomment-249482533
firefox: 45.9.0esr
python:
- 2.7.13
matrix:
fast_finish: true
env:
matrix:
- PLONE_VERSION=5.0
- PLONE_VERSION=5.1
install:
- virtualenv -p `which python` .
- bin/pip install -r requirements.txt
- sed -ie "s#test-5.0#test-$PLONE_VERSION#" buildout.cfg
- bin/buildout -N buildout:download-cache=downloads -c tests.cfg annotate
- bin/buildout -N buildout:download-cache=downloads -c tests.cfg
- bin/pip install zest.pocompile
- bin/pocompile src
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- firefox -v
script:
- bin/code-analysis
- bin/coverage run bin/test
after_success:
- bin/coveralls