summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml23
-rw-r--r--README.md2
2 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..139e731
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+language: c
+
+before_script:
+ # Hijacking the crystfel repos for OpenCL headers and ICD
+ - sudo add-apt-repository ppa:valmar-lp/crystfel-releases -y
+ - sudo apt-get update -qq -y
+ - sudo apt-get install opencl-headers ocl-icd-opencl-dev libjson-glib-dev libzmq3-dev autoconf-archive
+ - sudo apt-get install libtiff4-dev
+
+ # build ufo-core first
+ - mkdir core
+ - cd core
+ - git clone https://github.com/ufo-kit/ufo-core
+ - cd ufo-core
+ - cmake -DPREFIX=$HOME/usr -DWITH_GIR=OFF -DWITH_GTK_DOC=OFF -DWITH_PYTHON=OFF .
+ - make install
+ - cd ../..
+
+script:
+ - export LD_LIBRARY_PATH=$HOME/usr/lib
+ - export PKG_CONFIG_PATH=$HOME/usr/lib/pkgconfig
+ - cmake .
+ - make
diff --git a/README.md b/README.md
index bfe1f5f..f672879 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
## UFO base plugins
+[![Build Status](https://travis-ci.org/ufo-kit/ufo-filters.png?branch=master)](https://travis-ci.org/ufo-kit/ufo-filters)
+
[UFO](https://github.com/ufo-kit/ufo-core) is a multi-threaded, GPU-enabled and
distributed data processing framework. This repository contains basic plugins
for image processing and tomographic reconstruction.