-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis_bak.yml
62 lines (58 loc) · 1.71 KB
/
.travis_bak.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
dist: xenial
language: python
sudo: false
addons:
chrome: stable
apt:
update: true
packages:
- firefox-geckodriver
cache:
pip: true
directories:
- eggs
python:
- "2.7"
matrix:
include:
- env: TOXENV=py27-lint
- env: TOXENV=py37-lint
python: "3.7"
- env: TOXENV=py27-Plone51
- env: TOXENV=py27-Plone52
- env: TOXENV=py37-Plone52
python: "3.7"
fast_finish: true
allow_failures:
# - env: TOXENV=py37-Plone52
# - env: TOXENV=py27-Plone52
before_install:
- virtualenv -p `which python` .
- mkdir -p $HOME/buildout-cache/{eggs}
- 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
# - bin/pip install -r requirements.txt -c constraints_plone$PLONE_VERSION.txt
# - bin/pip install tox
# - bin/buildout -N out:download-cache=downloads code-analysis:return-status-codes=True annotate
# - bin/buildout -N buildout:download-cache=downloads code-analysis:return-status-codes=True
#- cp test_plone$PLONE_VERSION.cfg buildout.cfg
install:
- travis_retry pip install -U tox coveralls coverage -c travis_constraints.txt
# - bin/buildout -N -t 3 code-analysis:return-status-codes=True annotate
# - bin/buildout -N -t 3 code-analysis:return-status-codes=True
- mkdir -p parts/test/_screenshotsg
before_script:
- 'export DISPLAY=:99.0'
- export VERBOSE=true
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- sleep 3
script:
- tox
#after_script:
after_success:
- coverage run bin/test
- python -m coverage.pickle2json
- coverage combine
- coveralls