forked from collective/collective.cover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 2.11 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
language: python
python: 2.7
env:
global:
- ARTIFACTS_AWS_REGION=sa-east-1
- ARTIFACTS_S3_BUCKET=collective-cover
- secure: "Ll2tTrfw0vpGlk+tfdcOD8HOylIWlyFDtNL+ShfQtAZ9wHZEOFJJyVsaSpDbdgWD1Y+muSz8I9xcvNY7ag17jm8udSEWecGaMIodeHB5hIklEi/OovKoAUgPqaVtbNE/FtyURZf7KE+Nb7zCege6XjCD635U4W2P1/072aEY3CU="
- secure: "bPiRnG3qFbWjD1zgVcTJAcOy8uuUwLKDIaVe15L6M5xLz49SfHFe6Zwc8jQ0g4J9xIDRqX4gcLnJffr0xJmBytXZGohFCjQRPUFruoy/stWWOrdgYT+9Jm9/TbVwoh+Cudo5iTNdIsaVnzcA6IyuTae/i9CJ9QQ7MBKyrjRV+T4="
matrix:
- PLONE_VERSION=4.2
- PLONE_VERSION=4.3 QA=true
- PLONE_VERSION=4.3 JQUERY=1.8.3
- PLONE_VERSION=4.3 JQUERY=1.9.1
- PLONE_VERSION=5.0
matrix:
allow_failures:
- env: PLONE_VERSION=4.3 JQUERY=1.9.1
- env: PLONE_VERSION=5.0
fast_finish: true
install:
- sed -ie "s#travis-4.x.cfg#travis-$PLONE_VERSION.x.cfg#" travis.cfg
- sed -ie "s#versions-4.x.cfg#versions-$PLONE_VERSION.x.cfg#" travis.cfg
- test $JQUERY && sed -ie "s#plone.app.jquery = 1.7.2#plone.app.jquery = $JQUERY#" versions-4.3.x.cfg || true
- mkdir -p buildout-cache/downloads
- python bootstrap.py -c travis.cfg
- bin/buildout -c travis.cfg annotate
- bin/buildout -c travis.cfg -N -q
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script: bin/code-analysis && bin/test
after_success:
- test $QA && bin/buildout -c coverage.cfg -N -q || true
- test $QA && bin/coverage.sh && pip install -q coveralls && coveralls || true
after_failure:
- firefox -v
- gem install travis-artifacts -q
- travis-artifacts upload --path parts/test
notifications:
irc:
channels: irc.freenode.org#simplesconsultoria
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"
- "Robot Test Report for Plone 4.2: http://collective-cover.s3-website-sa-east-1.amazonaws.com/artifacts/%{build_number}/%{build_number}.1/robot_report.html"
- "Robot Test Report for Plone 4.3: http://collective-cover.s3-website-sa-east-1.amazonaws.com/artifacts/%{build_number}/%{build_number}.2/robot_report.html"