-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
62 lines (51 loc) · 1.14 KB
/
.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
54
55
56
57
58
59
60
61
62
os:
- linux
dist: bionic
language: python
addons:
apt:
packages:
- libgtk-3-dev
cache:
directories:
- eggs
- downloads
python:
- 2.7
env:
- PLONE_VERSION=4
- PLONE_VERSION=5.0
- PLONE_VERSION=5.1
- PLONE_VERSION=5.2
jobs:
fast_finish: true
include:
- python: "2.7"
env: PLONE_VERSION=4
- python: "2.7"
env: PLONE_VERSION=5.0
- python: "2.7"
env: PLONE_VERSION=5.1
- python: "2.7"
env: PLONE_VERSION=5.2
allow_failures:
- python: "2.7"
env: PLONE_VERSION=5.2
install:
- sed -ie "s#test-5.1#test-$PLONE_VERSION#" travis.cfg
- virtualenv .
- bin/pip install -r requirements.txt
- mkdir -p buildout-cache/{eggs,downloads}
- bin/buildout -c travis.cfg buildout:download-cache=downloads buildout:eggs-directory=eggs annotate
- bin/buildout -c travis.cfg buildout:download-cache=downloads buildout:eggs-directory=eggs
script:
- bin/test --test=\!"robot"
after_success:
- bin/coverage run bin/test --test=\!"robot"
- pip install coverage==4.5.4
- python -m coverage.pickle2json
- pip install coveralls
- coveralls
notifications:
email:
- devs@imio.be