]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Try using make -k in Travis configuration
authorNick Mathewson <nickm@torproject.org>
Mon, 23 Sep 2019 19:04:54 +0000 (15:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 23 Sep 2019 19:05:08 +0000 (15:05 -0400)
Frequently, when a patch fails, it has failures in several files.
Using the "-k" flag will let us learn all the compilation errors,
not just the first one that the compiler hits.

Based on a patch by rl1987.

.travis.yml
changes/ticket31372_travis [new file with mode: 0644]

index a2bc6395df100b8c329a3aa9ca1177ce3bb162be..759710737248ff240847fc80d48746c9773087f1 100644 (file)
@@ -15,8 +15,10 @@ os:
 ## OS and compiler.
 env:
   global:
-    ## The Travis CI environment allows us two cores, so let's use both.
-    - MAKEFLAGS="-j 2"
+    ## The Travis CI environment allows us two cores, so let's use both.  Also,
+    ## let's use the "-k" flag so that we get all of the compilation failures,
+    ## not just the first one.
+    - MAKEFLAGS="-k -j 2"
     ## We turn on hardening by default
     ## Also known as --enable-fragile-hardening in 0.3.0.3-alpha and later
     - HARDENING_OPTIONS="--enable-expensive-hardening"
diff --git a/changes/ticket31372_travis b/changes/ticket31372_travis
new file mode 100644 (file)
index 0000000..403869b
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor features (continuous integration):
+    - When building on Travis, pass the "-k" flag to make, so that
+      we are informed of all compilation failures, not just the first
+      one or two. Closes part of ticket 31372.