-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (39 loc) · 803 Bytes
/
.travis.yml
File metadata and controls
48 lines (39 loc) · 803 Bytes
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
os:
- linux
dist: bionic
language: python
cache:
pip: true
directories:
- eggs
python:
- "3.6"
- "3.7.5"
- "3.7.6"
- "3.8"
env:
- PLONE_VERSION=52
jobs:
fast_finish: true
allow_failures:
- python: "3.6"
- python: "3.8"
before_install:
- sudo apt-get install -qqy firefox-geckodriver
- virtualenv -p `which python` .
- bin/pip install -r requirements.txt -c constraints_plone$PLONE_VERSION.txt
- cp test_plone$PLONE_VERSION.cfg buildout.cfg
install:
- bin/buildout annotate
- bin/buildout
before_script:
- 'export DISPLAY=:99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- sleep 3
- firefox -v
script:
- bin/test --all
after_success:
- bin/createcoverage --output-dir=parts/test/coverage
- bin/pip install -q coveralls
- bin/coveralls