diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-08-15 00:47:35 +0300 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-08-15 00:47:35 +0300 |
| commit | f3ccad57cd9bb29a4a0bcd91d13a756e8fdef895 (patch) | |
| tree | 33817ae24ed67cc81aecc70819fe9ca3a4584775 | |
| parent | 5be27ba937c67ac7c7bfbc0b5a6e829132b9000a (diff) | |
| download | wheel-git-f3ccad57cd9bb29a4a0bcd91d13a756e8fdef895.tar.gz | |
Added Cirrus CI configuration
This is the only reasonable way to have automated tests on FreeBSD.
| -rw-r--r-- | .cirrus.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..f1a613a --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,15 @@ +freebsd_instance: + image_family: freebsd-12-1 + +test_task: + only_if: "$CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH ~= 'pull/.*'" + skip: "!changesInclude('.cirrus.yml', '**.py', 'pyproject.toml', 'setup.*')" + + pip_cache: + folder: ~/.cache/pip + + install_script: + - pkg install -y py38-sqlite3 + - python3.8 -m ensurepip + - pip3 install .[test] + script: pytest |
