Trying something out for #3802

This commit is contained in:
Miroslav Stampar 2019-11-13 13:39:25 +01:00
parent 77312a8a2e
commit 7202bb010c
2 changed files with 13 additions and 7 deletions

View File

@ -1,13 +1,19 @@
language: python language: python
dist: trusty jobs:
include:
- python: 2.6
dist: trusty
- python: 2.7
dist: trusty
- python: 3.3
dist: trusty
- python: 3.6
dist: trusty
- python: 3.8
dist: xenial
sudo: false sudo: false
git: git:
depth: 1 depth: 1
python:
- "2.6"
- "2.7"
- "3.3"
- "3.6"
script: script:
- python -c "import sqlmap; import sqlmapapi" - python -c "import sqlmap; import sqlmapapi"
- python sqlmap.py --smoke - python sqlmap.py --smoke

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.11.40" VERSION = "1.3.11.41"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)