]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Travis testing (fix windows/clan complex)
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 23 May 2019 12:16:57 +0000 (14:16 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 23 May 2019 12:16:57 +0000 (14:16 +0200)
.travis.yml

index fcbb137ae50fa897b99ae4739ea293293ba34ce8..3d84f019edbb1758350659aa94c3ce11a96aebf3 100644 (file)
@@ -61,10 +61,10 @@ script:
     then make && make test;
     else {
       if [ "$CC" = "clang" ];
-      then export CFLAGS+="-DSSIZE_T=ssize_t -D_USE_MATH_DEFINES";
+      then export CFLAGS+=" -DSSIZE_T=ssize_t -D_USE_MATH_DEFINES";
       if [ "$USE_DOUBLE" = 0 ];
-      then export CFLAGS+="-Dm_uint='struct _C_float_complex'";
-      else export CFLAGS+="-Dm_uint='struct _C_double_complex'";
+      then export CFLAGS+=" -Dm_uint='struct _C_float_complex'";
+      else export CFLAGS+=" -Dm_uint='struct _C_double_complex'";
       fi
       fi;
       make.exe && make.exe test;