-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (38 loc) · 1022 Bytes
/
.travis.yml
File metadata and controls
38 lines (38 loc) · 1022 Bytes
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
language: python
sudo: false
cache:
pip: true
directories:
- $HOME/buildout-cache
python:
- '2.7.13'
env:
- PLONE_VERSION=4.3 QA=true
- PLONE_VERSION=5.0
- PLONE_VERSION=5.1
matrix:
allow_failures:
- env: PLONE_VERSION=5.1
before_install:
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
- mkdir $HOME/.buildout
- echo "[buildout]" > $HOME/.buildout/default.cfg
- echo "download-cache = $HOME/buildout-cache/downloads" >> $HOME/.buildout/default.cfg
- echo "eggs-directory = $HOME/buildout-cache/eggs" >> $HOME/.buildout/default.cfg
- virtualenv .
- bin/pip install --upgrade pip setuptools zc.buildout coveralls
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- sed -ie "s#plone-4.3.x.cfg#plone-$PLONE_VERSION.x.cfg#" travis.cfg
- bin/buildout -N -t 3 -c travis.cfg
script:
- bin/code-analysis
- bin/test --all
after_success:
- bin/createcoverage
- bin/python -m coverage.pickle2json
- bin/coveralls
notifications:
email:
- jens@bluedynamics.com