forked from plone/plone.app.contenttypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 823 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
language: python
sudo: false
cache:
pip: true
directories:
- $HOME/buildout-cache
branches:
only:
- master
- 1.1.x
python:
- 2.7
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
install:
- pip install -U setuptools==18.2
- python bootstrap-buildout.py --setuptools-version=18.2 -c travis.cfg
- bin/buildout -Nc travis.cfg
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- bin/code-analysis
- bin/test --all
- bin/createcoverage
after_success:
- pip install coveralls
- coveralls