bcachefs-tools/.travis.yml
Brett Holman 60a6b2882e Clean up smoketest and pytests.
- Replace depreciated tempfile with mktemp in smoketest.
- Remove unused pytest imports and variables.
- Make path lookup less fragile. Allows pytest to run from any cwd.
- Prevent exeptions caused by calling functions/methods on None objects.
- Disable fuse tests in smoketest. These are broken and add noise.
- Add missing travis CI dependency.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-10-11 20:24:12 -06:00

38 lines
906 B
YAML

os: linux
dist: bionic
language: c
arch:
- amd64
# - arm64
addons:
apt:
packages:
- valgrind
- python3-docutils
- python3-pytest
- python3-pytest-xdist
- meson
- ninja-build
- pkg-config
- libaio-dev
- libblkid-dev
- libkeyutils-dev
- liblz4-dev
- libscrypt-dev
- libsodium-dev
- liburcu-dev
- libzstd-dev
- libudev-dev
- uuid-dev
- zlib1g-dev
before_install:
- wget https://github.com/libfuse/libfuse/archive/fuse-3.7.0.tar.gz -O /tmp/fuse.tar.gz
- tar -C /tmp -zxvf /tmp/fuse.tar.gz
- mkdir /tmp/libfuse-fuse-3.7.0/build
- pushd /tmp/libfuse-fuse-3.7.0/build && meson .. && ninja && sudo ninja install && popd
- sudo ldconfig
script: ./smoke_test