aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-28 11:38:48 +1000
committerteor <teor@torproject.org>2019-12-03 12:46:22 +1000
commit62cf12a8bd66f3795b14466fb7308b1ee24ea0e0 (patch)
treee3465e306adf3c110acee2327e3c59096fc83902
parent145ff92d9298ff2e9913b591a91a76ea0846f361 (diff)
downloadtor-62cf12a8bd66f3795b14466fb7308b1ee24ea0e0.tar.gz
tor-62cf12a8bd66f3795b14466fb7308b1ee24ea0e0.zip
Travis: use -std=gnu99 with NSS, and clang with Chutney
NSS: * test NSS-specific code with -std=gnu99 * use a recent gcc version from the latest Ubuntu image Chutney: * use clang, so we keep one clang Linux job * keep clang on a fast job, so the overall build finishes quickly Closes ticket 32500 for 0.3.5.
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f227321876..aeebbcbdc2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,13 +42,13 @@ matrix:
## Turn off some newer features, turn on clang's -Wtypedef-redefinition
env: C_DIALECT_OPTIONS="-std=gnu99"
## We check NSS
- ## NSS is a fast job, clang is slower on Linux, so we do NSS clang
- - env: NSS_OPTIONS="--enable-nss"
- compiler: clang
- ## We run chutney on Linux, because it's faster than chutney on macOS
## Use -std=gnu99 to turn off some newer features, and maybe turn on some
## extra gcc warnings?
- - env: CHUTNEY="yes" CHUTNEY_ALLOW_FAILURES="2" SKIP_MAKE_CHECK="yes" C_DIALECT_OPTIONS="-std=gnu99"
+ - env: NSS_OPTIONS="--enable-nss" C_DIALECT_OPTIONS="-std=gnu99"
+ ## We run chutney on Linux, because it's faster than chutney on macOS
+ ## Chutney is a fast job, clang is slower on Linux, so we do Chutney clang
+ - env: CHUTNEY="yes" CHUTNEY_ALLOW_FAILURES="2" SKIP_MAKE_CHECK="yes"
+ compiler: clang
## (Linux only) Use an older Linux image (Ubuntu Trusty)
## The Xenial and Bionic images cause permissions issues for chutney,
## this is a workaround, until we fix #32240.