From: Felipe Barriga Richards Date: Mon, 31 Oct 2016 03:36:24 +0000 (-0300) Subject: .travis.yml: added. README.md: added travis status X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=8fca394631df2290dea7e8764add281964294989;p=rrq%2Ffuse_xattrs.git .travis.yml: added. README.md: added travis status --- diff --git a/.travis.yml b/.travis.yml index 8feeddb..e4a8520 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,27 @@ +sudo: required +dist: trusty + language: - cpp before_install: - sudo apt-get update -qq - - sudo apt-get install libfuse-dev valgrind python3 - - sudo pip install xattr + - sudo apt-get install libfuse-dev valgrind gcc libattr1-dev fuse wget lcov + - sudo modprobe fuse + - sudo chmod 666 /dev/fuse + - sudo chown root:$USER /etc/fuse.conf compiler: - - clang + - gcc script: + - virtualenv -p /usr/bin/python3 python_venv + - source python_venv/bin/activate + - easy_install xattr - mkdir -p build && cd build - - cmake .. + - cmake -DENABLE_CODECOVERAGE=1 -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=Debug .. - make - - make test - - cd .. + - make fuse_xattrs_coverage -after_success: - - true +after_failure: + - cat build/Testing/Temporary/LastTest.log diff --git a/README.md b/README.md index b2411ef..e2ee57e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/fbarriga/fuse_xattrs.svg?branch=travis)](https://travis-ci.org/fbarriga/fuse_xattrs) + ## Abstract This filesystem provides xattr support using sidecar files.