mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -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
|
- lint
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
|
- rc
|
||||||
|
- demo
|
||||||
|
|
||||||
test:lint:3.8:
|
test:lint:3.8:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
@ -59,6 +61,30 @@ test:lint:3.8:
|
||||||
- lint
|
- lint
|
||||||
except:
|
except:
|
||||||
- tags
|
- 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
|
- rc
|
||||||
- demo
|
- demo
|
||||||
|
|
||||||
|
|
@ -90,6 +116,8 @@ test:py:3.7:
|
||||||
- docker
|
- docker
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
|
- rc
|
||||||
|
- demo
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
junit: .reports/burpui.junit.xml
|
junit: .reports/burpui.junit.xml
|
||||||
|
|
@ -105,6 +133,38 @@ test:py:3.8:
|
||||||
- docker
|
- docker
|
||||||
except:
|
except:
|
||||||
- tags
|
- 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
|
- rc
|
||||||
- demo
|
- demo
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -113,7 +173,7 @@ test:py:3.8:
|
||||||
|
|
||||||
build:py3:
|
build:py3:
|
||||||
stage: build
|
stage: build
|
||||||
image: python:3.7
|
image: python:3.8
|
||||||
script:
|
script:
|
||||||
- tests/build.sh
|
- tests/build.sh
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -130,7 +190,7 @@ build:py3:
|
||||||
|
|
||||||
build:doc:
|
build:doc:
|
||||||
stage: build
|
stage: build
|
||||||
image: python:3.7
|
image: python:3.8
|
||||||
script:
|
script:
|
||||||
- pip install -U .[rtd]
|
- pip install -U .[rtd]
|
||||||
- cd docs && make html
|
- 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 \
|
RUN apk add --no-cache supervisor bash logrotate librsync libressl tzdata nginx \
|
||||||
&& apk add --no-cache --virtual .fetch-deps \
|
&& apk add --no-cache --virtual .fetch-deps \
|
||||||
|
|
|
||||||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{36,37,38}
|
envlist = py{36,37,38,39,310}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
description = Run burp-ui unit tests
|
description = Run burp-ui unit tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue