-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (50 loc) · 1.43 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
language: python
python:
- 2.7
sudo: false
cache:
directories:
- eggs
env:
- PLONE_VERSION=4.2 PKG_EXTRAS=[test_cover]
- PLONE_VERSION=4.3 PKG_EXTRAS=[test_cover]
- PLONE_VERSION=5.0 PKG_EXTRAS=[test_mosaic]
- PLONE_VERSION=5.1 PKG_EXTRAS=[test_mosaic]
matrix:
allow_failures:
- env: PLONE_VERSION=4.2 PKG_EXTRAS=[test_cover]
- env: PLONE_VERSION=5.0 PKG_EXTRAS=[test_mosaic]
fast_finish: true
addons:
firefox: 45.8.0esr
before_install:
- pip freeze
# FIXME: We have no idea how and why six==1.11.0 is being installed
- pip uninstall -y six
- pip uninstall -y typing
install:
- sed -ie "s#test-4.x.cfg#test-$PLONE_VERSION.x.cfg#" travis.cfg
- sed -ie "s#versions-$PLONE_VERSION.x#versions#" travis.cfg
- mkdir -p buildout-cache/eggs
- mkdir -p buildout-cache/downloads
- pip install -r requirements.txt
- buildout buildout:package-extras=$PKG_EXTRAS -c travis.cfg annotate
- buildout buildout:package-extras=$PKG_EXTRAS -c travis.cfg -N -q
dist: xenial
services:
- xvfb
before_script:
- "export DISPLAY=:99.0"
- firefox -v
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage
- pip install coveralls
- coveralls
notifications:
email:
- development@propertyshelf.com
hipchat:
secure: "7bIt1k1JymS5D5hNjfymYRLUTduDp+dujTjpipk82v7kPsgLCBSUtf15TYvAfsuJluqjd/Utsh+mE4cIONmFqvkqH16RuTY3FzDr/YkT8UDp2PgWT8OHOkvOOwf+9TfhxayaY4u07TV9++UN2HJ0a7glIIRBULzZk+YFaeE8BFA="