summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-23 15:04:54 -0400
committerNick Mathewson <nickm@torproject.org>2019-09-23 15:05:08 -0400
commit6ed3d8dbd180aa72e2c9b3fa4835fb82e0f60556 (patch)
treed324e3b984712e36c3dac5a3652b2e4f82b52dea /.travis.yml
parent967460389a2f5dd70f75dd753a0d9ff97292e5b2 (diff)
downloadtor-6ed3d8dbd180aa72e2c9b3fa4835fb82e0f60556.tar.gz
tor-6ed3d8dbd180aa72e2c9b3fa4835fb82e0f60556.zip
Try using make -k in Travis configuration
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a2bc6395df..7597107372 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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"