Add a travis.yml file for bcachefs-tools.

Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
Justin Husted 2019-12-28 18:50:49 -08:00
parent 5d79efdd19
commit 15bcfb2a33
2 changed files with 33 additions and 0 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ tests/__pycache__/
# dot-files that we don't want to ignore
!.gitignore
!.travis.yml

32
.travis.yml Normal file
View File

@ -0,0 +1,32 @@
os: linux
dist: bionic
language: c
arch: amd64
addons:
apt:
packages:
- valgrind
- 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
- 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