mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
drop python 2 support (closes #267)
This commit is contained in:
parent
d3a143732d
commit
8cf2f017cc
23 changed files with 210 additions and 468 deletions
|
|
@ -8,7 +8,7 @@ stages:
|
|||
|
||||
test:lint:
|
||||
stage: test
|
||||
image: python:2.7
|
||||
image: python:3.6
|
||||
script:
|
||||
- pip install flake8 pylint
|
||||
- make flake8
|
||||
|
|
@ -17,17 +17,6 @@ test:lint:
|
|||
except:
|
||||
- tags
|
||||
|
||||
test:py2.7:
|
||||
stage: test
|
||||
image: python:2.7
|
||||
script:
|
||||
- pip install tox
|
||||
- tox -e py27
|
||||
tags:
|
||||
- docker
|
||||
except:
|
||||
- tags
|
||||
|
||||
test:py3.6:
|
||||
stage: test
|
||||
image: python:3.6
|
||||
|
|
@ -39,22 +28,6 @@ test:py3.6:
|
|||
except:
|
||||
- tags
|
||||
|
||||
build:py2:
|
||||
stage: build
|
||||
image: python:2.7
|
||||
script:
|
||||
- /bin/bash tests/run_build.sh
|
||||
tags:
|
||||
- build
|
||||
only:
|
||||
- master@ziirish/burp-ui
|
||||
- demo@ziirish/burp-ui
|
||||
artifacts:
|
||||
paths:
|
||||
- dist/
|
||||
- meta/
|
||||
expire_in: 2 mos
|
||||
|
||||
build:py3:
|
||||
stage: build
|
||||
image: python:3.6
|
||||
|
|
@ -64,6 +37,7 @@ build:py3:
|
|||
- build
|
||||
only:
|
||||
- master@ziirish/burp-ui
|
||||
- demo@ziirish/burp-ui
|
||||
artifacts:
|
||||
paths:
|
||||
- dist/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue