Skip to content

Commit

Permalink
Added FreeBSD CI support
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Feb 6, 2020
1 parent f1aa087 commit 3724047
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
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}

0 comments on commit 3724047

Please sign in to comment.