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:21:43 +0100
commitb12fd50626bccf2db2bb3673dcf5fdc2294f499c (patch)
tree400827883ba4f22bf9668a056f3fe2c8a61b2899 /.travis.yml
parente40d6bf00ae0ab9fa2e20a3a11d5556e3c8e58ad (diff)
In travis, build from a "source release" rather than from the build tree
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 475fc3d8729190fd12b4ff23d6ec488439fb78f9)
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 b88eb3a188..6a2d745a15 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;
@@ -44,10 +47,13 @@ before_script:
fi;
./config $CONFIG_OPTS;
fi
+ - cd ..
script:
+ - cd _srcdist
- make
- if [ -z "$CROSS_COMPILE" ]; then make test; fi
+ - cd ..
notifications:
email: