mirror of https://github.com/nicolargo/glances.git
Add python 3.7 and 3.8 into CI
This commit is contained in:
parent
6f284cc97a
commit
6f9365bb24
|
|
@ -25,7 +25,7 @@ from concurrent.futures import ThreadPoolExecutor
|
|||
|
||||
|
||||
BASE_URL = 'https://ci.appveyor.com/api'
|
||||
PY_VERSIONS = ['2.7', '3.4', '3.5', '3.6']
|
||||
PY_VERSIONS = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8']
|
||||
|
||||
|
||||
def term_supports_colors(file=sys.stdout):
|
||||
|
|
|
|||
28
.travis.yml
28
.travis.yml
|
|
@ -1,19 +1,27 @@
|
|||
language: python
|
||||
|
||||
cache: pip
|
||||
|
||||
python:
|
||||
- '2.7'
|
||||
- '3.4'
|
||||
- '3.5'
|
||||
- '3.6'
|
||||
- pypy
|
||||
- '2.7'
|
||||
- '3.4'
|
||||
- '3.5'
|
||||
- '3.6'
|
||||
- '3.7'
|
||||
- '3.8'
|
||||
- pypy
|
||||
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
- pip install coveralls
|
||||
- pip install -r requirements.txt
|
||||
- pip install coveralls
|
||||
|
||||
script:
|
||||
- pip install .
|
||||
- coverage run --source=glances unitest.py
|
||||
- pip install .
|
||||
- coverage run --source=glances unitest.py
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
- coveralls
|
||||
|
||||
deploy:
|
||||
provider: pypi
|
||||
user: nicolargo
|
||||
|
|
|
|||
22
appveyor.yml
22
appveyor.yml
|
|
@ -20,6 +20,14 @@ environment:
|
|||
PYTHON_VERSION: "3.6.x"
|
||||
PYTHON_ARCH: "32"
|
||||
|
||||
- PYTHON: "C:\\Python37"
|
||||
PYTHON_VERSION: "3.7.x"
|
||||
PYTHON_ARCH: "32"
|
||||
|
||||
- PYTHON: "C:\\Python38"
|
||||
PYTHON_VERSION: "3.8.x"
|
||||
PYTHON_ARCH: "32"
|
||||
|
||||
# 64 bits
|
||||
|
||||
- PYTHON: "C:\\Python27-x64"
|
||||
|
|
@ -40,6 +48,20 @@ environment:
|
|||
VS_VER: "2015"
|
||||
INSTANCENAME: "SQL2012SP1"
|
||||
|
||||
- PYTHON: "C:\\Python37-x64"
|
||||
PYTHON_VERSION: "3.7.x"
|
||||
PYTHON_ARCH: "64"
|
||||
ARCH: x86_64
|
||||
VS_VER: "2015"
|
||||
INSTANCENAME: "SQL2012SP1"
|
||||
|
||||
- PYTHON: "C:\\Python38-x64"
|
||||
PYTHON_VERSION: "3.8.x"
|
||||
PYTHON_ARCH: "64"
|
||||
ARCH: x86_64
|
||||
VS_VER: "2015"
|
||||
INSTANCENAME: "SQL2012SP1"
|
||||
|
||||
# Also build on a Python version not pre-installed by Appveyor.
|
||||
# See: https://github.com/ogrisel/python-appveyor-demo/issues/10
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -133,6 +133,8 @@ setup(
|
|||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Topic :: System :: Monitoring'
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue