Browse Source

.travis.yml: where it matters, have build and source nesting levels differ

Where we build out of source, the source directory was _srcdist and
the build directory was _build.  That gives the same nesting level for
both, which doesn't quite exercise all aspects of relative back
references from build to source tree.

Changing the build tree to be in _build/tree will challenge back
references a bit more, and ensure a bit more that we got it right.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11186)
master
Richard Levitte 2 years ago
parent
commit
6caf63ec48
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      .travis.yml

+ 5
- 5
.travis.yml View File

@ -170,10 +170,10 @@ before_script:
- if [ -n "$DESTDIR" ]; then
sh .travis-create-release.sh $TRAVIS_OS_NAME;
tar -xzf _srcdist.tar.gz;
mkdir _build;
cd _build;
srcdir=../_srcdist;
top=..;
mkdir -p _build/tree;
cd _build/tree;
srcdir=../../_srcdist;
top=../..;
else
srcdir=.;
top=.;
@ -210,7 +210,7 @@ script:
fi
- top=${PWD}
- if [ -n "$DESTDIR" ]; then
cd _build;
cd _build/tree;
fi
- if ! $make update; then
echo -e '\052\052 FAILED -- MAKE UPDATE';


Loading…
Cancel
Save