mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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:
|
||||
global:
|
||||
- IS_TRAVIS=true
|
||||
- CFLAGS=-O0
|
||||
matrix:
|
||||
- DAV_SERVER=radicale_filesystem REQUIREMENTS=release
|
||||
- DAV_SERVER=radicale_filesystem REQUIREMENTS=devel
|
||||
|
|
@ -10,5 +11,11 @@ env:
|
|||
- DAV_SERVER=radicale_database REQUIREMENTS=devel
|
||||
- DAV_SERVER=owncloud REQUIREMENTS=release
|
||||
|
||||
install: "./install-deps.sh"
|
||||
script: "py.test -l tests/"
|
||||
install:
|
||||
- "./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
|
||||
echo "The shell is $SHELL"
|
||||
set -e
|
||||
[ "$IS_TRAVIS" = "true" ] && CFLAGS=-O0 pip install lxml || true
|
||||
PIP_INSTALL="pip install --use-mirrors"
|
||||
$PIP_INSTALL --editable .
|
||||
$PIP_INSTALL -r requirements.txt
|
||||
[ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem
|
||||
[ -n "$REQUIREMENTS" ] || REQUIREMENTS=release
|
||||
|
||||
$PIP_INSTALL --editable .
|
||||
$PIP_INSTALL -r requirements.txt
|
||||
|
||||
davserver_radicale_filesystem() {
|
||||
radicale_deps
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue