dev/ci/lib/set-container-envvars.sh in passenger-5.2.3 vs dev/ci/lib/set-container-envvars.sh in passenger-5.3.0
- old
+ new
@@ -11,15 +11,21 @@
export CCACHE_DIR="$CACHE_DIR/ccache"
export CCACHE_COMPRESS=1
export CCACHE_COMPRESSLEVEL=3
export CCACHE_BASEDIR="$PASSENGER_ROOT"
export CCACHE_SLOPPINESS=time_macros
+export CCACHE_LOGFILE="$(pwd)/buildout/testlogs/ccache.log"
# We want Bundler invocations to be explicit. For example,
# when running 'rake test:install_deps', we do not want
# to invoke Bundler there because the goal might be to
# install the Rake version as specified in the Gemfile,
# which we may not have yet.
export NOEXEC_DISABLE=1
+
+if [[ "$EXECUTOR_NUMBER" != "" ]]; then
+ (( TEST_PORT_BASE=64000+EXECUTOR_NUMBER*10 ))
+ export TEST_PORT_BASE
+fi
if [[ "$OS" = macos ]]; then
# Ensure that Homebrew tools can be found
export PATH=$PATH:/usr/local/bin
else