-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (39 loc) · 978 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
language: python
python: 2.7
sudo: false
cache:
directories:
- eggs
env:
matrix:
- PLONE_VERSION=4.3
- PLONE_VERSION=4.3 QA=true
install:
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg
- sed -ie "s#versions-4.3#versions-$PLONE_VERSION#" buildout.cfg
- python bootstrap.py
- bin/buildout annotate
- bin/buildout -Nq
before_script:
- export DISPLAY=:99.0
# - export GROK_DISABLE_TEMPLATE_WARNING=on
- sh -e /etc/init.d/xvfb start
- firefox -v
- export DISPLAY=:99.0
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage -t "--layer=!Robot"
- pip install -q coveralls
- coveralls
after_failure:
- bin/buildout annotate
- firefox -v
#notifications:
# irc:
# channels: irc.freenode.org#canaina
# template:
# - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
# - "Vista de cambios : %{compare_url}"
# - "Detalles de construccion : %{build_url}"