mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Merge branch 'cleanup'
This commit is contained in:
commit
90e8b7b0bc
2 changed files with 0 additions and 69 deletions
|
|
@ -1,48 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
from pathlib import Path
|
||||
|
||||
REPO_ROOT = Path(__file__).parent.parent
|
||||
|
||||
builds = [
|
||||
{
|
||||
"BUILD": "style",
|
||||
"REQUIREMENTS": "release",
|
||||
"DAV_SERVER": "skip",
|
||||
},
|
||||
{
|
||||
"ETESYNC_TESTS": "true",
|
||||
"BUILD": "test",
|
||||
"REQUIREMENTS": "release",
|
||||
"DAV_SERVER": "skip",
|
||||
},
|
||||
]
|
||||
|
||||
# XXX: Use `devel` here for recent python versions:
|
||||
for requirements in ("release", "minimal"):
|
||||
# XXX: `fastmail` has been left out here:
|
||||
dav_servers = ("radicale", "xandikos")
|
||||
|
||||
builds.append(
|
||||
{
|
||||
"BUILD": "test",
|
||||
"REQUIREMENTS": requirements,
|
||||
"DAV_SERVER": "skip",
|
||||
},
|
||||
)
|
||||
|
||||
for dav_server in dav_servers:
|
||||
job = {
|
||||
"BUILD": "test-storage",
|
||||
"REQUIREMENTS": requirements,
|
||||
"DAV_SERVER": dav_server,
|
||||
}
|
||||
|
||||
|
||||
with open(REPO_ROOT / "scripts" / "tests.template") as f:
|
||||
template = f.read()
|
||||
|
||||
# TODO: Delete previous ones...
|
||||
|
||||
for i, build in enumerate(builds):
|
||||
with open(REPO_ROOT / ".builds" / f"{i}.yaml", "w") as f:
|
||||
f.write(template.format(**build))
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
# vim: ft=yaml
|
||||
|
||||
image: archlinux
|
||||
packages:
|
||||
- docker
|
||||
- python-pip
|
||||
sources:
|
||||
- https://github.com/pimutils/vdirsyncer
|
||||
environment:
|
||||
BUILD: {BUILD}
|
||||
REQUIREMENTS: {REQUIREMENTS}
|
||||
DAV_SERVER: {DAV_SERVER}
|
||||
tasks:
|
||||
- setup: |
|
||||
cd vdirsyncer
|
||||
make -e install-$BUILD
|
||||
- test: |
|
||||
cd vdirsyncer
|
||||
# Non-system python is used for packages:
|
||||
export PATH=$PATH:~/.local/bin/
|
||||
make -e $BUILD
|
||||
Loading…
Reference in a new issue