-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix state propagation in CurrentThreadScheduler and NewThreadScheduler * Fix TwistedScheduler import in tests * Test QtScheduler with pyside2 (v1 unsupported as of Python 3.5) * Add missing import in GtkScheduler * Fix EventletScheduler, and its tests * Fix GEventScheduler, and add its tests to CI * Fix intermittent timing failures * Use Tcl instead of Tk so we can test headless * Add Windows and MacOS to Travis CI config * Add optional dependencies to CI to increase coverage * Remove spurious import in tkinter test * Add PyYaml for coveralls reporting, remove redundant apt-get installs
- Loading branch information
1 parent
bf328e6
commit 4c0e0db
Showing
12 changed files
with
89 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,48 @@ | ||
language: python | ||
python: | ||
- "3.6" | ||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
matrix: | ||
include: | ||
- os: linux | ||
dist: xenial | ||
language: python | ||
python: 3.6 | ||
# Coverage for the baseline 3.6 build: include some optional packages | ||
before_script: | ||
- pip install eventlet gevent pyyaml tornado twisted | ||
# pycairo / pygobject need native libraries | ||
- sudo apt-get install -y libgirepository1.0-dev gir1.2-gtk-3.0 | ||
- pip install pycairo pygobject | ||
|
||
- os: linux | ||
dist: xenial | ||
language: python | ||
python: 3.7 | ||
|
||
- os: linux | ||
dist: xenial | ||
language: python | ||
python: 3.8-dev | ||
|
||
- os: osx | ||
osx_image: xcode8.3 | ||
language: python | ||
python: 3.7-dev | ||
|
||
- os: windows | ||
python: 3.7-dev | ||
language: sh | ||
before_install: | ||
- choco install python3 | ||
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH" | ||
|
||
install: | ||
- python setup.py install | ||
- pip install coveralls | ||
- pip install coverage | ||
- pip install coveralls coverage | ||
- pip install pytest>=3.0.2 pytest-asyncio pytest-cov --upgrade | ||
- pip install tornado | ||
# command to run tests, e.g. python setup.py test | ||
|
||
script: | ||
- coverage run --source=rx setup.py test | ||
|
||
after_success: | ||
- coveralls | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PYTHON_VERSION" == 3.6* ]]; | ||
then | ||
coveralls; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters