travis: test fuse-enabled borg

This commit is contained in:
Thomas Waldmann 2016-08-21 19:27:23 +02:00
parent 2a41569fec
commit ebe1143570
2 changed files with 6 additions and 2 deletions

View File

@ -17,6 +17,8 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
brew install lz4
brew install xz # required for python lzma module
brew outdated pyenv || brew upgrade pyenv
brew install pkg-config
brew install Caskroom/versions/osxfuse-beta
case "${TOXENV}" in
py34)
@ -35,10 +37,11 @@ else
sudo apt-get update
sudo apt-get install -y liblz4-dev
sudo apt-get install -y libacl1-dev
sudo apt-get install -y libfuse-dev fuse pkg-config # optional, for FUSE support
fi
python -m virtualenv ~/.venv
source ~/.venv/bin/activate
pip install -r requirements.d/development.txt
pip install codecov
pip install -e .
pip install -e .[fuse]

View File

@ -8,7 +8,8 @@ envlist = py{34,35,36},flake8
deps =
-rrequirements.d/development.txt
-rrequirements.d/attic.txt
commands = py.test --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
-rrequirements.d/fuse.txt
commands = py.test -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *