forked from Organice/djangocms-maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (42 loc) · 1.49 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
48
os: linux
dist: xenial
language: python
python:
- 3.6
- 3.7
- 3.8
env:
- DJANGO=2.2 CMS=3.7
- DJANGO=2.2 CMS=3.8
- DJANGO=3.0 CMS=3.7
- DJANGO=3.0 CMS=3.8
- DJANGO=3.1 CMS=3.8
install:
- pip install tox-travis
script:
- tox
stages:
- lint
- test
- deploy
jobs:
include:
- { stage: lint, python: 3.8, env: TOXENV=flake8 }
- { stage: lint, python: 3.8, env: TOXENV=pylint }
- { stage: lint, python: 3.8, env: TOXENV=bandit }
- { stage: lint, python: 3.8, env: TOXENV=jshint }
- { stage: lint, python: 3.8, env: TOXENV=divio }
- { stage: lint, python: 3.8, env: TOXENV=readme }
- stage: deploy
if: tag is present
deploy:
provider: pypi
distributions: sdist bdist_wheel
username: bittner
password:
secure: NM8NLOlIx6ADQ9WjM4w34m3SJ8OzT2ndGi913xVZLTkGbOTGA5D6GCNIRTEBToKN2aqkqK7zQP44M1UTr77+d7Lq4wuwR09gHrvLpUpipvhlQmAY1MRKQuKq503zUT1IF/OcBMimvbwFwVG3eDvteCUwWuNW96k4hDVDihecRAu1EZtyMr6QgOQzrpD3mweGpJfl3aUZXbx5lit94YP83XeNWCPQ2ktx1XnYTx5pcXK+tKRvOE/VEDdD0m5dZjWylkbNUxnhhhpvSsdvPiU+iFRPeEs7soI86pPIxk3l232cbAhNKV300eO1rjT+FL5UcMdIeAK9hWITtDQXjGCqsTsxgXeVKp4TBjzUEcZRPNG1a3E/TcCDuDCu9zBx9U0AY56erN9tVDA7XTm5YjkDnkBjbr/mUKQni5kwovKeuv7h089tROLUgYtYGCogzBwPUwzcTna0m3NSdhUiJmndeS6tNmLGs9J2lHXsexBc+Tx+Ab/JPrXqesneQGi6snQ+AUY3w81zOl21/oOLMx5m0a6iMFzyB8SpfapUSPRpSxAFjTtmpp8PUuAUovzcRB8lZWsaQt5Gzrn+pCauYO9n9+lqWTtxbT39j7hwXLdcO8HcuQzKVLyEXtUzMn3Gb1XfnMaEVtDNrwlXe6zil0cVMh3LQVTIdqfVhWf+vBAzs+A=
on:
tags: true
install: skip
script: skip
python: 3.8