提交 475fc3d8 编写于 作者: R Richard Levitte

In travis, build from a "source release" rather than from the build tree

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 4a544810
...@@ -68,6 +68,9 @@ matrix: ...@@ -68,6 +68,9 @@ matrix:
env: CONFIG_OPTS="--debug --strict-warnings" env: CONFIG_OPTS="--debug --strict-warnings"
before_script: 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 - if [ "$CC" == i686-w64-mingw32-gcc ]; then
export CROSS_COMPILE=${CC%%gcc}; unset CC; export CROSS_COMPILE=${CC%%gcc}; unset CC;
./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format; ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
...@@ -77,13 +80,16 @@ before_script: ...@@ -77,13 +80,16 @@ before_script:
else else
./config $CONFIG_OPTS; ./config $CONFIG_OPTS;
fi fi
- cd ..
script: script:
- cd _srcdist
- make - make
- if [ -n "$CROSS_COMPILE" ]; then - if [ -n "$CROSS_COMPILE" ]; then
export EXE_SHELL="wine" WINEPREFIX=`pwd`; export EXE_SHELL="wine" WINEPREFIX=`pwd`;
fi fi
- make test - make test
- cd ..
notifications: notifications:
email: email:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册