forked from collective/collective.documentviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (34 loc) · 1013 Bytes
/
.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
language: python
matrix:
include:
- name: Plone 5.0
python: 2.7.17
env: PLONE_VERSION=5.0
- name: Plone 5.1
python: 2.7.17
env: PLONE_VERSION=5.1
- name: Plone 5.2/2.7
python: 2.7.17
env: PLONE_VERSION=5.2
- name: Plone 5.2/3.6
python: 3.6
env: PLONE_VERSION=5.2
- name: Plone 5.2/3.7
python: 3.7
env: PLONE_VERSION=5.2
before_script:
- sleep 10
before_install:
- sudo apt-get install -y graphicsmagick poppler-utils poppler-data
- sudo apt-get install -y ghostscript qpdf tesseract-ocr tesseract-ocr-eng
- sudo apt-get install -y libreoffice
- sed -i "s/test-5.2.x/test-$PLONE_VERSION.x/g" buildout.cfg
- sed -i "s/5.2-latest/$PLONE_VERSION-latest/g" requirements.txt
install:
- mkdir -p buildout-cache/{eggs,downloads}
- pip install -IUr requirements.txt
- pip install pyflakes==1.6.0 pycodestyle==2.3.1 flake8==3.5.0;
- buildout -Nc travis.cfg
script:
- flake8 collective/documentviewer;
- bin/test;