mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-28 03:35:51 +08:00
Linux和Darwin系统使用uvloop库
This commit is contained in:
+12
-1
@@ -9,16 +9,28 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- name: "Python 3.6 on Linux"
|
- name: "Python 3.6 on Linux"
|
||||||
python: 3.6 # this works for Linux but is ignored on macOS or Windows
|
python: 3.6 # this works for Linux but is ignored on macOS or Windows
|
||||||
|
before_install:
|
||||||
|
- pip3 install -U pip
|
||||||
|
- pip3 install -U uvloop
|
||||||
- name: "Python 3.7 on Xenial Linux"
|
- name: "Python 3.7 on Xenial Linux"
|
||||||
python: 3.7 # this works for Linux but is ignored on macOS or Windows
|
python: 3.7 # this works for Linux but is ignored on macOS or Windows
|
||||||
dist: xenial # required for Python >= 3.7
|
dist: xenial # required for Python >= 3.7
|
||||||
|
before_install:
|
||||||
|
- pip3 install -U pip
|
||||||
|
- pip3 install -U uvloop
|
||||||
- name: "Python 3.8 on Xenial Linux"
|
- name: "Python 3.8 on Xenial Linux"
|
||||||
python: 3.8-dev # this works for Linux but is ignored on macOS or Windows
|
python: 3.8-dev # this works for Linux but is ignored on macOS or Windows
|
||||||
dist: xenial # required for Python >= 3.7
|
dist: xenial # required for Python >= 3.7
|
||||||
|
before_install:
|
||||||
|
- pip3 install -U pip
|
||||||
|
- pip3 install -U uvloop
|
||||||
- name: "Python 3.7 on macOS"
|
- name: "Python 3.7 on macOS"
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode10.2 # Python 3.7 running on macOS 10.14.3
|
osx_image: xcode10.2 # Python 3.7 running on macOS 10.14.3
|
||||||
language: shell # 'language: python' is an error on Travis CI macOS
|
language: shell # 'language: python' is an error on Travis CI macOS
|
||||||
|
before_install:
|
||||||
|
- pip3 install -U pip
|
||||||
|
- pip3 install -U uvloop
|
||||||
- name: "Python 3.8 on Windows"
|
- name: "Python 3.8 on Windows"
|
||||||
os: windows # Windows 10.0.17134 N/A Build 17134
|
os: windows # Windows 10.0.17134 N/A Build 17134
|
||||||
language: shell
|
language: shell
|
||||||
@@ -31,7 +43,6 @@ matrix:
|
|||||||
- PYTHONIOENCODING=UTF-8
|
- PYTHONIOENCODING=UTF-8
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip3 install -U pip
|
|
||||||
- pip3 install codecov
|
- pip3 install codecov
|
||||||
- pip3 install -r requirements.txt
|
- pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user