From 029032c7969cb9c8d76bff8a46c544408fcb56e6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 4 Apr 2018 15:58:30 +0200 Subject: Add build tests for non-default build options using Travis CI --- .travis.yml | 29 +++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 .travis.yml 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 --- -- cgit v1.2.3