From 3f3674584c75cce2c9f9d029b35a97312572c59b Mon Sep 17 00:00:00 2001 From: Teemu Toivola Date: Mon, 9 Oct 2017 22:33:21 +0300 Subject: [PATCH] update Travis CI configuration --- .travis.yml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index e7b68b1..aed94fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,30 @@ language: c -os: - - linux - - osx - -compiler: - - gcc - - clang - matrix: - exclude: - - os: osx + include: + - os: linux + dist: trusty + sudo: false compiler: gcc + - os: linux + dist: trusty + sudo: false + compiler: clang + - os: osx + compiler: clang + +addons: + apt: + packages: + - libgd3 + - libgd-dev + - check before_install: - - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo apt-get update -qq ; fi - - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo apt-get install -qq libgd2-xpm libgd2-xpm-dev check ; fi - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install gd check ; fi script: - - CFLAGS='-Wall -Wextra -g' ./configure && make check && ./vnstat --version + - CFLAGS='-Wall -Wextra -g' ./configure && make check || ( cat test.log ; exit 1 ) && ./vnstat --version notifications: email: -- 2.40.0