Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added FreeBSD CI support #636

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
freebsd_instance:
image_family: freebsd-12-1

task:
install_script:
- pkg install -y python37 py37-sqlite3
# Print the Python version, only to be sure we are running the version we want
- python3.7 -c 'import platform; print("Python", platform.python_version())'
# Check SQLite3 is installed
- python3.7 -c 'import sqlite3; print("SQLite3", sqlite3.version)'
setup_script:
- python3.7 -m ensurepip
- python3.7 -m pip install -U pip
- python3.7 -m pip install -r requirements-tests.txt
lint_script:
- python3.7 -m flake8 docs src tests tools
tests_script:
- python3.7 -bb -m pytest tests
1 change: 1 addition & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog
- Refactored ``dispatch()`` method of ``FileSystemEventHandler``,
``PatternMatchingEventHandler`` and ``RegexMatchingEventHandler``
- Improve tests support on non Windows/Linux platforms (`#633 <https://github.com/gorakhargosh/watchdog/pull/633>`__)
- Added FreeBSD CI support (`#532 <https://github.com/gorakhargosh/watchdog/pull/532>`__)
- Thanks to our beloved contributors: @BoboTiG, @evilham


Expand Down
7 changes: 7 additions & 0 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-e ".[watchmedo]"
eventlet
flake8
flaky
pytest
pytest-cov
pytest-timeout
8 changes: 1 addition & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ skip_missing_interpreters = True

[testenv]
deps =
-e .
eventlet
flake8
pytest-cov
pytest-timeout
flaky
extras = watchmedo
-r requirements-tests.txt
commands =
python -m flake8 docs tools src tests
python -bb -m pytest {posargs}