aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2016-01-05 10:35:24 +0100
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2016-01-09 17:55:13 +0100
commitc70995a724ddfcfafc7a1fd47bd6cc6bda6dfa62 (patch)
tree3e456292b62f41bf8f42637442b0a64704f5b257
parent3036f56bc6fef65a573081167ddcd417434c6d4d (diff)
downloadimv-c70995a724ddfcfafc7a1fd47bd6cc6bda6dfa62.tar.gz
Add Travis CI support
Unfortunately, Travis only wants to use Ubuntu LTS releases, so at least until next Ubuntu LTS release we are stuck with ancient cmocka version. So no automated testing yet.
-rw-r--r--.travis.yml25
-rw-r--r--README.md1
2 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..13fcf70
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+sudo: required
+dist: trusty
+
+language: c
+
+compiler:
+ - clang
+ - gcc
+
+env:
+ - V=yes
+
+script:
+ - make
+# - make check
+
+notifications:
+ email: false
+
+addons:
+ apt:
+ packages:
+ - libfreeimage-dev
+ - libsdl2-ttf-dev
+# - libcmocka-dev
diff --git a/README.md b/README.md
index 56814bb..057486a 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
+[![Build Status](https://travis-ci.org/czarkoff/imv.svg?branch=master)](https://travis-ci.org/czarkoff/imv)
imv - X11/Wayland Image Viewer
==============================