summaryrefslogtreecommitdiff
path: root/tools/travis-test.sh
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-10-25 11:45:11 +0300
committermattip <matti.picus@gmail.com>2019-10-25 12:42:08 +0300
commit4c2b4d8fb2d1b37df621433fbb2f0e3dabb82058 (patch)
tree5787f0f334a888d74b64b55e48d74819da385eeb /tools/travis-test.sh
parentc47061de6fc234e0d4438bc4cef6510c89a495c2 (diff)
downloadnumpy-4c2b4d8fb2d1b37df621433fbb2f0e3dabb82058.tar.gz
BUILD, DOC: remove the std=c99 flag from docs, builds, add release note
Diffstat (limited to 'tools/travis-test.sh')
-rwxr-xr-xtools/travis-test.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh
index 6094f0ee6..e04a33143 100755
--- a/tools/travis-test.sh
+++ b/tools/travis-test.sh
@@ -36,8 +36,6 @@ setup_base()
sysflags="$($PYTHON -c "from distutils import sysconfig; \
print (sysconfig.get_config_var('CFLAGS'))")"
export CFLAGS="$sysflags $werrors -Wlogical-op -Wno-sign-compare"
- # use c99
- export CFLAGS=$CFLAGS" -std=c99"
# We used to use 'setup.py install' here, but that has the terrible
# behaviour that if a copy of the package is already installed in the
# install location, then the new copy just gets dropped on top of it.
@@ -141,8 +139,6 @@ if [ -n "$USE_WHEEL" ] && [ $# -eq 0 ]; then
$PIP install -U virtualenv
# ensure some warnings are not issued
export CFLAGS=$CFLAGS" -Wno-sign-compare -Wno-unused-result"
- # use c99
- export CFLAGS=$CFLAGS" -std=c99"
# adjust gcc flags if C coverage requested
if [ -n "$RUN_COVERAGE" ]; then
export NPY_DISTUTILS_APPEND_FLAGS=1
@@ -169,8 +165,6 @@ elif [ -n "$USE_SDIST" ] && [ $# -eq 0 ]; then
$PYTHON -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
# ensure some warnings are not issued
export CFLAGS=$CFLAGS" -Wno-sign-compare -Wno-unused-result"
- # use c99
- export CFLAGS=$CFLAGS" -std=c99"
$PYTHON setup.py sdist
# Make another virtualenv to install into
virtualenv --python=`which $PYTHON` venv-for-wheel