aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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..440da38
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+sudo: required
+dist: trusty
+
+language: c
+
+compiler:
+ - clang
+ - gcc
+
+env:
+ - V=yes CFLAGS="-W -Wall -Wextra -Wpedantic -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -Werror"
+
+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..73e3082 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
+[![Build Status](https://travis-ci.org/eXeC64/imv.svg?branch=master)](https://travis-ci.org/eXeC64/imv)
imv - X11/Wayland Image Viewer
==============================