From 6670b27320e11795408e6d229f7095b9e8b496a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Tue, 14 Oct 2014 10:03:28 +0200 Subject: [PATCH] Always compile verbose when running the CI --- .travis.yml | 2 +- Makefile.include | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e8bf4b95b..1dd3e89a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ before_script: - WGET="travis_retry wget --continue --tries=20 --waitretry=10 --retry-connrefused --no-dns-cache --timeout 300" - sudo apt-get -qq update - ## Support building the same binary as on CI + ## Support building a binary that is identical to the CI - echo -n "Contiki will be compiled with RELSTR=" ; git --git-dir .git describe --tags --always ## Install msp430 toolchain diff --git a/Makefile.include b/Makefile.include index 9d6270c1e..63c3e63df 100644 --- a/Makefile.include +++ b/Makefile.include @@ -35,6 +35,13 @@ ifndef HOST_OS endif endif +#More debug information when running in CI +ifdef CI + ifeq ($(CI),true) + V = 1 + endif +endif + usage: @echo "make MAKETARGETS... [TARGET=(TARGET)] [savetarget] [targets]"