mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
Build Tor without dirauth module in Travis.
See: https://bugs.torproject.org/25953
This commit is contained in:
parent
895d20ab4b
commit
60a2c92d10
@ -106,6 +106,8 @@ matrix:
|
|||||||
env: DISTCHECK="yes" RUST_OPTIONS=""
|
env: DISTCHECK="yes" RUST_OPTIONS=""
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: DISTCHECK="yes" RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
|
env: DISTCHECK="yes" RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
|
||||||
|
- compiler: gcc
|
||||||
|
env: MODULES_OPTIONS="--disable-module-dirauth"
|
||||||
## The "sudo: required" forces non-containerized builds, working
|
## The "sudo: required" forces non-containerized builds, working
|
||||||
## around a Travis CI environment issue: clang LeakAnalyzer fails
|
## around a Travis CI environment issue: clang LeakAnalyzer fails
|
||||||
## because it requires ptrace and the containerized environment no
|
## because it requires ptrace and the containerized environment no
|
||||||
@ -118,6 +120,9 @@ matrix:
|
|||||||
- compiler: clang
|
- compiler: clang
|
||||||
sudo: required
|
sudo: required
|
||||||
env: RUST_OPTIONS=""
|
env: RUST_OPTIONS=""
|
||||||
|
- compiler: clang
|
||||||
|
sudo: required
|
||||||
|
env: MODULES_OPTIONS="--disable-module-dirauth"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
## If we're on OSX, homebrew usually needs to updated first
|
## If we're on OSX, homebrew usually needs to updated first
|
||||||
@ -148,7 +153,7 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure $RUST_OPTIONS $COVERAGE_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening
|
- ./configure $RUST_OPTIONS $COVERAGE_OPTIONS $MODULES_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening
|
||||||
## We run `make check` because that's what https://jenkins.torproject.org does.
|
## We run `make check` because that's what https://jenkins.torproject.org does.
|
||||||
- if [[ "$DISTCHECK" == "" ]]; then make check; fi
|
- if [[ "$DISTCHECK" == "" ]]; then make check; fi
|
||||||
- if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$RUST_OPTIONS $COVERAGE_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening"; fi
|
- if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$RUST_OPTIONS $COVERAGE_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening"; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user