]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Clean up detection of CI environment
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 11 May 2019 15:00:21 +0000 (17:00 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 18 Jul 2019 20:05:49 +0000 (22:05 +0200)
“RUN_FROM_BUILD_FARM” was set by the old Samba build farm, so switch to
checking “TRAVIS” instead. Also, keep running in dev mode in Travis.

configure.ac
unittest/main.c

index 903091aefa4bf11bb7fe179147073df4a61e7314..45c47991ec918536b91f22a0453112c1593a26bb 100644 (file)
@@ -208,7 +208,7 @@ fi
 mkdir -p .deps src unittest
 
 dnl Enable developer mode if dev.mk.in exists.
-if test ! -f $srcdir/dev_mode_disabled && test "$RUN_FROM_BUILD_FARM" != yes; then
+if test ! -f $srcdir/dev_mode_disabled; then
     AC_MSG_NOTICE(developer mode enabled)
     AC_CONFIG_FILES([dev.mk])
     include_dev_mk='include dev.mk'
index e3299b00e77d373892e8bc0e26be9b39810dde70..6a7b9800a97115e8d6434b1716a7ca43362cc9f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2018 Joel Rosdahl
+// Copyright (C) 2010-2019 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -74,7 +74,7 @@ main(int argc, char **argv)
                }
        }
 
-       if (getenv("RUN_FROM_BUILD_FARM")) {
+       if (getenv("TRAVIS")) {
                verbose = 1;
        }