From: Teemu Toivola Date: Thu, 8 Nov 2018 20:37:33 +0000 (+0200) Subject: give Travis jobs more descriptive names and limit git clone depth a little more than... X-Git-Tag: v2.1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b2bf26210451cc569eac79ee543033e519fdf7b;p=vnstat give Travis jobs more descriptive names and limit git clone depth a little more than default --- diff --git a/.travis.yml b/.travis.yml index 05e0397..e9997c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,42 @@ +git: + depth: 10 + language: c matrix: include: - - os: linux + - name: "Ubuntu 14.04 / GCC" + os: linux dist: trusty sudo: required compiler: gcc env: - CFLAGS='-Wall -Wextra' - CPARAMS='--enable-werror' - - os: linux + - name: "Ubuntu 14.04 / Clang" + os: linux dist: trusty sudo: required compiler: clang env: - CFLAGS='-Weverything -Wno-padded' - CPARAMS='--enable-werror' - - os: linux + - name: "Ubuntu 16.04 / GCC" + os: linux dist: xenial compiler: gcc env: - CFLAGS='-Wall -Wextra' - CPARAMS='--enable-werror' - - os: linux + - name: "Ubuntu 16.04 / Clang" + os: linux dist: xenial compiler: clang env: - CFLAGS='-Weverything -Wno-padded' - CPARAMS='--enable-werror' - - os: osx + - name: "OS X / Clang" + os: osx compiler: clang env: - CFLAGS='-Weverything -Wno-padded -Wno-reserved-id-macro -Wno-gnu-zero-variadic-macro-arguments -Wno-sign-conversion -Wno-unreachable-code -Wno-missing-noreturn'