Skip to content

Commit a9a63c8

Browse files
authored
Add Python 3.8 to Travis Testing (#40)
This adds Python 3.8 to Travis-CI testing pipelines and updates the dist to bionic. Signed-off-by: David Brown <dmlb2000@gmail.com>
1 parent 882af98 commit a9a63c8

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
dist: xenial
1+
dist: bionic
22
language: python
3+
python: 3.8
34
stages:
45
- lint
56
- test
67
- test-docs
78
- deploy
89

9-
".test_script": &1
10+
script:
1011
- pip install .
1112
- cd tests
1213
- coverage run --include='*/site-packages/jsonpath2/*' --omit='*/site-packages/jsonpath2/parser/JSONPath*' -m pytest -xv
@@ -19,17 +20,15 @@ install: pip install -r requirements-dev.txt
1920
jobs:
2021
include:
2122
- stage: lint
22-
python: 3.6
2323
script: pre-commit run -a
2424
- python: 3.7
2525
script: pre-commit run -a
26+
- python: 3.6
27+
script: pre-commit run -a
2628
- stage: test
27-
python: 3.6
28-
script: *1
2929
- python: 3.7
30-
script: *1
30+
- python: 3.6
3131
- stage: test-docs
32-
python: 3.7
3332
script:
3433
- pip install .
3534
- cd docs
@@ -38,7 +37,6 @@ jobs:
3837
- sphinx-build -b latex -D language=en -d _build/doctrees . _build/latex
3938
- sphinx-build -T -b epub -d _build/doctrees-epub -D language=en . _build/epub
4039
- stage: deploy
41-
python: 3.7
4240
script: skip
4341
deploy:
4442
skip_cleanup: true
@@ -50,7 +48,6 @@ jobs:
5048
on:
5149
tags: true
5250
- script: skip
53-
python: 3.7
5451
before_deploy: python setup.py sdist bdist_wheel
5552
deploy:
5653
provider: releases

0 commit comments

Comments
 (0)