mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 06:05:58 -06:00
test with python 3.9 and 3.10 + build with python 3.8 instead of 3.7
This commit is contained in:
parent
10169e4894
commit
668922753d
3 changed files with 64 additions and 4 deletions
|
|
@ -48,6 +48,8 @@ test:lint:3.7:
|
|||
- lint
|
||||
except:
|
||||
- tags
|
||||
- rc
|
||||
- demo
|
||||
|
||||
test:lint:3.8:
|
||||
stage: test
|
||||
|
|
@ -59,6 +61,30 @@ test:lint:3.8:
|
|||
- lint
|
||||
except:
|
||||
- tags
|
||||
|
||||
test:lint:3.9:
|
||||
stage: test
|
||||
image: python:3.9
|
||||
script:
|
||||
- pip install tox
|
||||
- tox -e pep8
|
||||
tags:
|
||||
- lint
|
||||
except:
|
||||
- tags
|
||||
- rc
|
||||
- demo
|
||||
|
||||
test:lint:3.10:
|
||||
stage: test
|
||||
image: python:3.10
|
||||
script:
|
||||
- pip install tox
|
||||
- tox -e pep8
|
||||
tags:
|
||||
- lint
|
||||
except:
|
||||
- tags
|
||||
- rc
|
||||
- demo
|
||||
|
||||
|
|
@ -90,6 +116,8 @@ test:py:3.7:
|
|||
- docker
|
||||
except:
|
||||
- tags
|
||||
- rc
|
||||
- demo
|
||||
artifacts:
|
||||
reports:
|
||||
junit: .reports/burpui.junit.xml
|
||||
|
|
@ -105,6 +133,38 @@ test:py:3.8:
|
|||
- docker
|
||||
except:
|
||||
- tags
|
||||
artifacts:
|
||||
reports:
|
||||
junit: .reports/burpui.junit.xml
|
||||
|
||||
test:py:3.9:
|
||||
stage: test
|
||||
image: python:3.9
|
||||
script:
|
||||
- pip install tox
|
||||
- mkdir .reports
|
||||
- tox -e py39
|
||||
tags:
|
||||
- docker
|
||||
except:
|
||||
- tags
|
||||
- rc
|
||||
- demo
|
||||
artifacts:
|
||||
reports:
|
||||
junit: .reports/burpui.junit.xml
|
||||
|
||||
test:py:3.10:
|
||||
stage: test
|
||||
image: python:3.10
|
||||
script:
|
||||
- pip install tox
|
||||
- mkdir .reports
|
||||
- tox -e py310
|
||||
tags:
|
||||
- docker
|
||||
except:
|
||||
- tags
|
||||
- rc
|
||||
- demo
|
||||
artifacts:
|
||||
|
|
@ -113,7 +173,7 @@ test:py:3.8:
|
|||
|
||||
build:py3:
|
||||
stage: build
|
||||
image: python:3.7
|
||||
image: python:3.8
|
||||
script:
|
||||
- tests/build.sh
|
||||
tags:
|
||||
|
|
@ -130,7 +190,7 @@ build:py3:
|
|||
|
||||
build:doc:
|
||||
stage: build
|
||||
image: python:3.7
|
||||
image: python:3.8
|
||||
script:
|
||||
- pip install -U .[rtd]
|
||||
- cd docs && make html
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.7-alpine3.12
|
||||
FROM python:3.8-alpine
|
||||
|
||||
RUN apk add --no-cache supervisor bash logrotate librsync libressl tzdata nginx \
|
||||
&& apk add --no-cache --virtual .fetch-deps \
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py{36,37,38}
|
||||
envlist = py{36,37,38,39,310}
|
||||
|
||||
[testenv]
|
||||
description = Run burp-ui unit tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue