forked from kitconcept/kitconcept.dsgvo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 907 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
language: python
python:
- "2.7"
- "3.7"
dist: xenial
sudo: required
cache:
pip: true
directories:
- $HOME/buildout-cache
env:
matrix:
- PLONE_VERSION=5.2.x
- PLONE_VERSION=5.1.x
- PLONE_VERSION=4.3.x
matrix:
exclude:
- python: 3.7
env: PLONE_VERSION=5.1.x
- python: 3.7
env: PLONE_VERSION=4.3.x
before_install:
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
- 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
- pip install cookiecutter
- pip install -r requirements.txt
install:
- sed -ie "s#plone-x.x.x.cfg#plone-$PLONE_VERSION.cfg#" travis.cfg
- buildout -t 10 -c travis.cfg
script:
- make code-analysis
- make test-release
- make test