Skip to content

Commit

Permalink
Add CI builds for Python 3.8 (#150)
Browse files Browse the repository at this point in the history
Set the metadata flags on `setup.py` to include 3.8 and specify that
it's Python 3 only.
  • Loading branch information
leouieda committed Mar 2, 2020
1 parent ce1673c commit 64ccb15
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
displayName: 'Mac'

pool:
vmImage: 'macOS-10.13'
vmImage: 'macOS-10.15'

variables:
CONDA_REQUIREMENTS: requirements.txt
Expand All @@ -81,6 +81,9 @@ jobs:

strategy:
matrix:
Python38:
python.version: '3.8'
PYTHON: '3.8'
Python37:
python.version: '3.7'
PYTHON: '3.7'
Expand Down Expand Up @@ -172,6 +175,9 @@ jobs:

strategy:
matrix:
Python38:
python.version: '3.8'
PYTHON: '3.8'
Python37:
python.version: '3.7'
PYTHON: '3.7'
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ env:
# Specify the build configurations. Be sure to only deploy from a single build.
matrix:
include:
- name: "Linux - Python 3.8"
os: linux
env:
- PYTHON=3.8
- name: "Linux - Python 3.7"
os: linux
env:
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@
"Intended Audience :: Education",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: {}".format(LICENSE),
]
PLATFORMS = "Any"
Expand Down

0 comments on commit 64ccb15

Please sign in to comment.