-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (63 loc) · 1.52 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
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
- env: PLONE_VERSION=5.0
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:
- pip freeze
# 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"
- firefox -v
dist: xenial
services:
- xvfb
script:
- bin/code-analysis
- bin/testnorobot
after_success:
- travis_wait bin/createcoverage
- pip install coveralls
- coveralls
notifications:
email:
hipchat:
secure: "DNFt17qIiF4pD0XskghAx1qRiSbLu9vdr+KnxeJLgzVBX1mnIJScxO6pEZ0ZK+2ivjXNpmqHd/wkyWs38zBV9MNoih8t6IRmAnJ/4/+E+rbQ3zye8mcBsrvDwhtUKYDpJOHVfuQJjwco0ro+LnW200q/x3LJ7vmw+oPBka8HNSk="