Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 348209a

Browse files
committed
Add Python 3.9 to CI
1 parent f506d65 commit 348209a

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ dist: xenial
22
sudo: false
33
language: python
44
python:
5+
- 3.9
56
- 3.8
67
- 3.7
78
- 3.6

appveyor.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,24 @@ environment:
1515
CODECOV_ENV: PYTHON_VERSION, PLATFORM
1616

1717
matrix:
18+
- PYTHON_VERSION: 3.9
19+
BUILD_OPTS: --xplat
1820
- PYTHON_VERSION: 3.8
21+
BUILD_OPTS: --xplat
1922
- PYTHON_VERSION: 3.7
2023
BUILD_OPTS: --xplat
2124
- PYTHON_VERSION: 3.6
2225
BUILD_OPTS: --xplat
26+
- PYTHON_VERSION: 3.9
2327
- PYTHON_VERSION: 3.8
2428
- PYTHON_VERSION: 3.7
2529
- PYTHON_VERSION: 3.6
26-
- PYTHON_VERSION: 3.7
30+
- PYTHON_VERSION: 3.9
2731
PYTHONNET_SHUTDOWN_MODE: Soft
2832
- PYTHON_VERSION: 3.8
2933
PYTHONNET_SHUTDOWN_MODE: Soft
34+
- PYTHON_VERSION: 3.7
35+
PYTHONNET_SHUTDOWN_MODE: Soft
3036
init:
3137
# Update Environment Variables based on matrix/platform
3238
- set PY_VER=%PYTHON_VERSION:.=%

src/runtime/runtime.cs

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public class Runtime
5050
const string _minor = "7";
5151
#elif PYTHON38
5252
const string _minor = "8";
53+
#elif PYTHON39
54+
const string _minor = "9";
5355
#else
5456
#error You must define one of PYTHON36 to PYTHON38
5557
#endif

0 commit comments

Comments
 (0)