summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-12-07 15:47:43 +0100
committerRichard Levitte <levitte@openssl.org>2015-12-07 16:12:22 +0100
commit475fc3d8729190fd12b4ff23d6ec488439fb78f9 (patch)
tree1d036c55549936de609626fab1b121f43d5253c0 /.travis.yml
parent4a544810f08539f1549eea9be36bd878c67c8e26 (diff)
In travis, build from a "source release" rather than from the build tree
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index f4319898d8..61f7c4a7c7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,6 +68,9 @@ matrix:
env: CONFIG_OPTS="--debug --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 -Wno-pedantic-ms-format;
@@ -77,13 +80,16 @@ before_script:
else
./config $CONFIG_OPTS;
fi
+ - cd ..
script:
+ - cd _srcdist
- make
- if [ -n "$CROSS_COMPILE" ]; then
export EXE_SHELL="wine" WINEPREFIX=`pwd`;
fi
- make test
+ - cd ..
notifications:
email: