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

Skip to content

Commit 5c37f33

Browse files
committed
Add Python 3.9 to CI
1 parent de7c7c2 commit 5c37f33

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ environment:
1515
CODECOV_ENV: PYTHON_VERSION, PLATFORM
1616

1717
matrix:
18+
- PYTHON_VERSION: 3.9
19+
BUILD_OPTS: --xplat
1820
- PYTHON_VERSION: 3.8
1921
BUILD_OPTS: --xplat
2022
- PYTHON_VERSION: 3.7
2123
BUILD_OPTS: --xplat
2224
- PYTHON_VERSION: 3.6
2325
BUILD_OPTS: --xplat
26+
- PYTHON_VERSION: 3.9
2427
- PYTHON_VERSION: 3.8
2528
- PYTHON_VERSION: 3.7
2629
- PYTHON_VERSION: 3.6
30+
- PYTHON_VERSION: 3.9
31+
PYTHONNET_SHUTDOWN_MODE: Soft
2732
- PYTHON_VERSION: 3.8
2833
PYTHONNET_SHUTDOWN_MODE: Soft
2934
- PYTHON_VERSION: 3.7

src/runtime/runtime.cs

Lines changed: 2 additions & 0 deletions
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)