drop python 2 support (closes #267)

This commit is contained in:
ziirish 2018-05-24 15:09:55 +02:00
parent d3a143732d
commit 8cf2f017cc
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
23 changed files with 210 additions and 468 deletions

View file

@ -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/