summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-04-04 15:58:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-04-04 15:58:30 +0200
commit029032c7969cb9c8d76bff8a46c544408fcb56e6 (patch)
tree316b63e54b9e48a0d78d1a04dfd327797f04d55f
parent3511040304dc7178fdcfe6d919c6cb736189d46f (diff)
Add build tests for non-default build options using Travis CI
-rw-r--r--.travis.yml29
-rw-r--r--README.md2
2 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f59e68c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+language: c
+addons:
+ apt:
+ packages:
+ - libcurl4-openssl-dev
+ - libx11-dev
+ - libxt-dev
+ - libimlib2-dev
+ - libxinerama-dev
+ - libjpeg-progs
+ - libtest-command-perl
+ - libtest-simple-perl
+ - libexif-dev
+ - libexif12
+script:
+ - make
+ - make test
+compiler:
+ - clang
+ - gcc
+env:
+ - default=1
+ - app=1
+ - curl=0
+ - exif=1
+ - help=1
+ - stat64=1
+ - verscmp=0
+ - xinerama=0
diff --git a/README.md b/README.md
index 7848158..334e681 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![build status](https://travis-ci.org/derf/feh.svg?branch=master)](https://travis-ci.org/derf/feh)
+
# feh
Imlib2 based image viewer
---