mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
40 lines
996 B
YAML
40 lines
996 B
YAML
# Run tests using latest dependencies from PyPI
|
|
|
|
image: archlinux
|
|
packages:
|
|
- docker
|
|
- docker-compose
|
|
- python-pip
|
|
- twine
|
|
sources:
|
|
- https://github.com/pimutils/vdirsyncer
|
|
secrets:
|
|
- a36c8ba3-fba0-4338-b402-6aea0fbe771e
|
|
environment:
|
|
BUILD: test
|
|
CI: true
|
|
CODECOV_TOKEN: b834a3c5-28fa-4808-9bdb-182210069c79
|
|
DAV_SERVER: baikal radicale xandikos
|
|
REQUIREMENTS: release
|
|
# TODO: ETESYNC_TESTS
|
|
tasks:
|
|
- setup: |
|
|
sudo systemctl start docker
|
|
cd vdirsyncer
|
|
make -e install-dev -e install-docs
|
|
- test: |
|
|
cd vdirsyncer
|
|
# Non-system python is used for packages:
|
|
export PATH=$PATH:~/.local/bin/
|
|
make -e ci-test
|
|
make -e ci-test-storage
|
|
- style: |
|
|
cd vdirsyncer
|
|
# Non-system python is used for packages:
|
|
export PATH=$PATH:~/.local/bin/
|
|
make -e style
|
|
git describe --exact-match --tags || complete-build
|
|
- publish: |
|
|
cd vdirsyncer
|
|
python setup.py sdist bdist_wheel
|
|
twine upload dist/*
|