Test mysteryshack

https://github.com/untitaker/mysteryshack

This is the first remoteStorage server to be tested in Travis.

I already started testing reStore (https://github.com/jcoglan/restore),
but stopped the experiments because the server is unmaintained.
This commit is contained in:
Markus Unterwaditzer 2015-12-20 22:21:34 +01:00
parent 51abf452a1
commit 435b25fbca
2 changed files with 26 additions and 4 deletions

View file

@ -26,6 +26,12 @@ matrix:
include:
- python: 2.7
env: BUILD=style
- python: 2.7
env: BUILD=test REMOTESTORAGE_SERVER=mysteryshack REQUIREMENTS=devel
- python: 2.7
env: BUILD=test REMOTESTORAGE_SERVER=mysteryshack REQUIREMENTS=release
- python: 2.7
env: BUILD=test REMOTESTORAGE_SERVER=mysteryshack REQUIREMENTS=minimal
- python: 2.7
env: BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel
- python: 2.7
@ -68,6 +74,12 @@ matrix:
env: BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal
- python: 3.5
env: BUILD=style
- python: 3.5
env: BUILD=test REMOTESTORAGE_SERVER=mysteryshack REQUIREMENTS=devel
- python: 3.5
env: BUILD=test REMOTESTORAGE_SERVER=mysteryshack REQUIREMENTS=release
- python: 3.5
env: BUILD=test REMOTESTORAGE_SERVER=mysteryshack REQUIREMENTS=minimal
- python: 3.5
env: BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel
- python: 3.5

View file

@ -57,13 +57,23 @@ with section("matrix"):
if python in ("2.7", "3.5"):
dav_servers = ("radicale", "owncloud", "baikal", "davical")
rs_servers = ("mysteryshack",)
else:
dav_servers = ("radicale",)
rs_servers = ()
for dav_server, requirements in itertools.product(
dav_servers,
for (server_type, server), requirements in itertools.product(
itertools.chain(
(("REMOTESTORAGE", x) for x in rs_servers),
(("DAV", x) for x in dav_servers)
),
("devel", "release", "minimal")
):
h()
p(" env: BUILD=test DAV_SERVER={} REQUIREMENTS={}"
.format(dav_server, requirements))
p(" env: "
"BUILD=test "
"{server_type}_SERVER={server} "
"REQUIREMENTS={requirements}"
.format(server_type=server_type,
server=server,
requirements=requirements))