-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
59 lines (59 loc) · 1.46 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
language: python
python:
- 2.6
- 2.7
sudo: false
cache:
directories:
- eggs
env:
- PLONE_VERSION=4.1
- PLONE_VERSION=4.2
- PLONE_VERSION=4.3
- PLONE_VERSION=5.0
- PLONE_VERSION=5.1
matrix:
allow_failures:
- env: PLONE_VERSION=4.1
- env: PLONE_VERSION=4.2
exclude:
- python: 2.7
env: PLONE_VERSION=4.1
- python: 2.6
env: PLONE_VERSION=4.2
- python: 2.6
env: PLONE_VERSION=4.3
- python: 2.6
env: PLONE_VERSION=5.0
- python: 2.6
env: PLONE_VERSION=5.1
fast_finish: true
addons:
firefox: 45.8.0esr
before_install:
# FIXME: We have no idea how and why six==1.11.0 is being installed
- pip uninstall -y six
install:
- sed -ie "s#test-4.x.cfg#test-$PLONE_VERSION.x.cfg#" travis.cfg
- sed -ie "s#versions-$PLONE_VERSION.x#versions#" travis.cfg
- mkdir -p buildout-cache/eggs
- mkdir -p buildout-cache/downloads
- pip install -r requirements_$TRAVIS_PYTHON_VERSION.txt
- buildout -c travis.cfg annotate
- buildout -c travis.cfg -N -q
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- firefox -v
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage
- pip install coveralls
- coveralls
notifications:
email:
- development@propertyshelf.com
hipchat:
secure: "T3yulcr/ngJczd1bac/GuB2GxhOXHND0KcajFkj9ULxmL1WQBGlMJJJkUDEAzTBouZ8JW2WbDdV80GxnQ592tFyGfABEWxNM3cKw8dFh6CWMDZkhS+W60wryFMnvxH1aoHJZKCt6/i/Dhg1bYBj1q27W93q7rCeNo1w5+v6I3MY="