From c70995a724ddfcfafc7a1fd47bd6cc6bda6dfa62 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Tue, 5 Jan 2016 10:35:24 +0100 Subject: 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. --- .travis.yml | 25 +++++++++++++++++++++++++ README.md | 1 + 2 files changed, 26 insertions(+) create mode 100644 .travis.yml 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 ============================== -- cgit v1.2.3 From 50c95ac9dd02d3d33b5bb54ac82726974e99202b Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Tue, 12 Jan 2016 22:17:26 +0100 Subject: Add explicit CFLAGS to .travis.yml Include "-Werror" among flags, so that it is easier to catch compiler warnings. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 13fcf70..440da38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ compiler: - gcc env: - - V=yes + - V=yes CFLAGS="-W -Wall -Wextra -Wpedantic -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -Werror" script: - make -- cgit v1.2.3 From ddcfe3341a44291f8e03ae39d668d130064d5175 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Wed, 13 Jan 2016 02:08:18 +0100 Subject: Gather status of eXeC64/imv in Travis indicator --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 057486a..73e3082 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/czarkoff/imv.svg?branch=master)](https://travis-ci.org/czarkoff/imv) +[![Build Status](https://travis-ci.org/eXeC64/imv.svg?branch=master)](https://travis-ci.org/eXeC64/imv) imv - X11/Wayland Image Viewer ============================== -- cgit v1.2.3