mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Use coveralls
This commit is contained in:
parent
0376fd40b9
commit
5302f2cb75
2 changed files with 12 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
|
@ -3,6 +3,7 @@ python: "2.7"
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- IS_TRAVIS=true
|
- IS_TRAVIS=true
|
||||||
|
- CFLAGS=-O0
|
||||||
matrix:
|
matrix:
|
||||||
- DAV_SERVER=radicale_filesystem REQUIREMENTS=release
|
- DAV_SERVER=radicale_filesystem REQUIREMENTS=release
|
||||||
- DAV_SERVER=radicale_filesystem REQUIREMENTS=devel
|
- DAV_SERVER=radicale_filesystem REQUIREMENTS=devel
|
||||||
|
|
@ -10,5 +11,11 @@ env:
|
||||||
- DAV_SERVER=radicale_database REQUIREMENTS=devel
|
- DAV_SERVER=radicale_database REQUIREMENTS=devel
|
||||||
- DAV_SERVER=owncloud REQUIREMENTS=release
|
- DAV_SERVER=owncloud REQUIREMENTS=release
|
||||||
|
|
||||||
install: "./install-deps.sh"
|
install:
|
||||||
script: "py.test -l tests/"
|
- "./install-deps.sh"
|
||||||
|
- "pip install coveralls"
|
||||||
|
script:
|
||||||
|
- "coverage run --source=vdirsyncer/,tests/ --module pytest"
|
||||||
|
after_success:
|
||||||
|
- "coverage report --show-missing"
|
||||||
|
- "coveralls"
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "The shell is $SHELL"
|
echo "The shell is $SHELL"
|
||||||
set -e
|
set -e
|
||||||
[ "$IS_TRAVIS" = "true" ] && CFLAGS=-O0 pip install lxml || true
|
|
||||||
PIP_INSTALL="pip install --use-mirrors"
|
PIP_INSTALL="pip install --use-mirrors"
|
||||||
$PIP_INSTALL --editable .
|
|
||||||
$PIP_INSTALL -r requirements.txt
|
|
||||||
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
|
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
|
||||||
[ -n "$REQUIREMENTS" ] || REQUIREMENTS=release
|
[ -n "$REQUIREMENTS" ] || REQUIREMENTS=release
|
||||||
|
|
||||||
|
$PIP_INSTALL --editable .
|
||||||
|
$PIP_INSTALL -r requirements.txt
|
||||||
|
|
||||||
davserver_radicale_filesystem() {
|
davserver_radicale_filesystem() {
|
||||||
radicale_deps
|
radicale_deps
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue