From 152f16b60679c0313cab2914fd68b6476aa1e095 Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sun, 22 Oct 2017 19:49:11 +0200 Subject: [PATCH] travis-build: check code formatting during the build --- extra/travis-build | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/extra/travis-build b/extra/travis-build index 18eced8..6aad1cc 100755 --- a/extra/travis-build +++ b/extra/travis-build @@ -39,7 +39,8 @@ deps_fedora() { at-spi2-core-devel \ gtk3-devel \ glib-networking \ - tree + tree \ + uncrustify } deps_opensuse() { @@ -57,7 +58,8 @@ deps_opensuse() { at-spi2-core-devel \ gtk3-devel \ glib-networking \ - tree + tree \ + uncrustify } deps_archlinux() { @@ -76,7 +78,8 @@ deps_archlinux() { gtk3 \ gnutls \ glib-networking \ - tree + tree \ + uncrustify } deps_ubuntu_xenial() { @@ -92,7 +95,8 @@ deps_ubuntu_xenial() { libnotify-dev \ libgtk-3-dev \ glib-networking \ - tree + tree \ + uncrustify } install_deps() { @@ -117,7 +121,8 @@ install_deps() { build() { set -ex - mkdir build && \ + ./extra/fmt check && \ + mkdir build && \ cd build && \ meson .. && \ ninja && \