Skip to content

Commit 89bcbfa

Browse files
author
Jafnee
committed
Update CI settings
1 parent 33a8d07 commit 89bcbfa

File tree

3 files changed

+21
-27
lines changed

3 files changed

+21
-27
lines changed

.travis.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
11
language: python
2-
python: 3.5
2+
python:
3+
- 3.6
4+
- 3.7
5+
- 3.8
36
env:
47
global:
58
LO_VERSION=5.1.1.3
69
LO_PATH=/opt/libreoffice5.1/program
7-
matrix:
8-
- TOXENV=py27-django18
9-
- TOXENV=py27-django19
10-
- TOXENV=py27-django110
11-
- TOXENV=py34-django18
12-
- TOXENV=py34-django19
13-
- TOXENV=py34-django110
14-
- TOXENV=flake8
15-
install: pip install -U tox
10+
11+
install: pip install -U tox-travis
12+
13+
# Setup Libre Office
1614
before_install:
1715
- sudo bash ci/linux.sh
1816
sudo: required
19-
script: tox -e ${TOXENV}
20-
deploy:
21-
provider: pypi
22-
distributions: sdist bdist_wheel
23-
password:
24-
secure: "M6mzV77Lp1YkqrWquW3BIwZxe+mF3pnxxV/eFlG/lu6gSEqqnNIGI4l8r/oGxJtVDXKAtALBBaZLJeLnwHvgtsWfkM8T8+9O5KUgAwC9XzIK5QZzFy9M/5O9q1S/z8Soh0jQMiJ8LfHiHBlMkB+f0Yjpd+LDjn/csUbucPYL0qy8sfDKkEHQxR+7N47ncJk2uKAZc5gKZRv6fxZT1SoD5zFlLGuTWGKMJh5PJpG/+enLrkTr6GntSYyY00+EiS0wuQq7N6ymlaN4nPf7vRoR/JaDGQ3LaAaDnwVFNC8cCQlTQP0gx/tcnUYwUmxfP4Ij1kZvfr+bYbEvnn4TA0g1cwap3eXMi6gkwgIh9A2NUS1SmkuhQRvgEXFaIFLyd+c1K8E/+QefI7mB+EG2EyuWo6iEJBiLiehWc+O1PuPkpak3FmZ0ayrK6AOdI0ZQ2rMPwb/Pms09v9r9qcTMLS8DIMH5P5tTmrI/4pG9nMpbhIUWkaWcuO+kSBqUGlqzEkzoPFOePUoxWXN6EAc6s5g/ndF618759vaQegJwLRhsptvHgRdyLNEn8175OBfKu20B2JA4EHDGp/O95Kla2N/U1ycO7xHkMsoPynpvvIs6LWU8tnRxeciVGoCRNWGLgKK7Nz13omiRqfuZrNFCaoV/zMF2QOWrwUG03zWZ0Vi7mHU="
25-
user: inductor
26-
on:
27-
condition: $TOXENV == py34-django19
28-
repo: kiawin/templated-docs
29-
tags: true
17+
script: tox --recreate && tox

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ bumpversion==0.5.3
33
wheel==0.29.0
44
watchdog==0.8.3
55
flake8==3.7.9
6-
tox==3.14.1
6+
tox==3.15.1
77
coverage==4.1
88
Sphinx>=1.4,<1.5
99
cryptography==2.3.1

tox.ini

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[tox]
2-
envlist = py{27,34}-django{18,19,110,111}, flake8
2+
envlist = py3{6,7,8}, django111, django2{2}, django3{0}, flake8
3+
4+
[travis]
5+
python =
6+
3.6: py36
7+
3.7: py37
8+
3.8: py38
39

410
[testenv:flake8]
511
deps=flake8
@@ -9,9 +15,9 @@ max-line-length=120
915
[testenv]
1016
passenv = LO_PATH
1117
deps =
12-
django18: Django>=1.8,<1.9
13-
django19: Django>=1.9,<1.10
14-
django110: Django>=1.10,<1.11
1518
django111: Django>=1.11,<1.12
16-
commands = python tests/manage.py test
19+
django22: Django>=2.2,<2.3
20+
django30: Django>=3.0,<3.1
21+
commands =
22+
python tests/manage.py test
1723
python example/manage.py check

0 commit comments

Comments
 (0)