-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 1021 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
37
38
39
40
41
42
43
44
45
46
47
48
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
matrix:
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
allow_failures:
- env: PLONE_VERSION=5.0
fast_finish: true
addons:
firefox: "39.0"
install:
- sed -ie "s#travis-4.x.cfg#travis-$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.txt
- buildout -c travis.cfg annotate
- buildout -c travis.cfg -N -q
branches:
only:
- master-new
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- firefox -v
script:
- bin/code-analysis
- bin/test
notifications:
irc: irc.freenode.org#propertyshelf