summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <[email protected]>2015-12-07 15:47:43 +0100
committerRichard Levitte <[email protected]>2015-12-07 16:25:13 +0100
commit1e8a87295e4e7f753cff47f9728487b74c4b932b (patch)
tree312b8c728085d7314df6833e2cd2b3f07e439f9e
parentSmall changes to creating dists (diff)
downloadopenssl-1e8a87295e4e7f753cff47f9728487b74c4b932b.tar.gz
openssl-1e8a87295e4e7f753cff47f9728487b74c4b932b.zip
In travis, build from a "source release" rather than from the build tree
Reviewed-by: Rich Salz <[email protected]> (cherry picked from commit 475fc3d8729190fd12b4ff23d6ec488439fb78f9)
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 397ac1d958a..288a3f126b9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,9 @@ matrix:
env: CONFIG_OPTS="-d --strict-warnings"
before_script:
+ - make -f Makefile.org TARFILE=_srcdist.tar NAME=_srcdist dist
+ - tar -xvzf _srcdist.tar.gz
+ - cd _srcdist
- if [ "$CC" == i686-w64-mingw32-gcc ]; then
export CROSS_COMPILE=${CC%%gcc}; unset CC;
./Configure mingw $CONFIG_OPTS;
@@ -41,10 +44,13 @@ before_script:
else
./config $CONFIG_OPTS;
fi
+ - cd ..
script:
+ - cd _srcdist
- make
- if [ -z "$CROSS_COMPILE" ]; then make test; fi
+ - cd ..
notifications:
recipient: