-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (43 loc) · 988 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
49
50
51
52
53
version: ~> 1.0
import: collective/buildout.plonetest:travis/default.yml
language: python
python:
- 2.7
env:
matrix:
- PLONE_VERSION=4.3.x
- PLONE_VERSION=5.0.x
- PLONE_VERSION=5.1.x
- PLONE_VERSION=5.2.x
matrix:
allow_failures:
- env: PLONE_VERSION=5.2.x
cache:
pip: true
directories:
- eggs
- $HOME/buildout-cache
before_install:
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
- virtualenv .
- pip install -r requirements.txt
- sed -ie "s#5.1.x#$PLONE_VERSION#" travis.cfg
- git diff
- buildout -N -t 3 annotate
install:
- pip install -q docutils # for setup.py check -r -s
- bin/buildout -N -t 3 -c travis.cfg
script:
- bin/check-manifest
- python setup.py check -r -s
- bin/code-analysis
- bin/dependencychecker
- bin/coverage run bin/test
- bin/coverage html
- bin/coverage report -m
after_success:
- pip install -q coverage coveralls
- coveralls
notifications:
email:
- gilforcada@gmail.com