.travis.yml: added. README.md: added travis status
authorFelipe Barriga Richards <spam@felipebarriga.cl>
Mon, 31 Oct 2016 03:36:24 +0000 (00:36 -0300)
committerFelipe Barriga Richards <spam@felipebarriga.cl>
Mon, 31 Oct 2016 20:43:08 +0000 (17:43 -0300)
.travis.yml
README.md

index 8feeddb87aa4cd2017679087a47e77a9db043eec..e4a8520b7630e4d279322d799ad2ca21384ca556 100644 (file)
@@ -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
index b2411ef706ececed29a6732e44308844153c13b0..e2ee57e0589394dcd08f0c902434d022d14abbb5 100644 (file)
--- 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.