Update .travis.yml

This commit is contained in:
Simon
2017-04-14 13:41:09 +08:00
committed by GitHub
parent 6eb382f34b
commit 6a6cd1d311

View File

@@ -160,18 +160,10 @@ before_script:
srcdir=.; srcdir=.;
top=.; top=.;
fi fi
- if [ "$CC" == i686-w64-mingw32-gcc ]; then - if which ccache >/dev/null && [ "$CC" != clang-3.9 ]; then
export CROSS_COMPILE=${CC%%gcc}; unset CC;
$srcdir/Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
export CROSS_COMPILE=${CC%%gcc}; unset CC;
$srcdir/Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
else
if which ccache >/dev/null && [ "$CC" != clang-3.9 ]; then
CC="ccache $CC"; CC="ccache $CC";
fi; fi;
$srcdir/config -v $CONFIG_OPTS; - $srcdir/config -v $CONFIG_OPTS;
fi
- cd $top - cd $top
script: script: