]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Travis testing (fix windows/clang ssize_t)
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 23 May 2019 09:53:45 +0000 (11:53 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 23 May 2019 09:53:45 +0000 (11:53 +0200)
.travis.yml

index c1af49a92f6ae7e8539b2cbffc4a084da0c468cc..db14dc07e2eb1a97bd8d2b295a3703aa3aae10c5 100644 (file)
@@ -59,10 +59,11 @@ before_script:
 script:
   - if [ $(uname) = "Linux" ] || [ $(uname) = "Darwin" ];
     then make && make test;
-    else if[ $CC = clang]
-    then CFLAGS+="-Dssize_t=SSIZE_T"
+    else
+      if[ $CC = clang]
+      then CFLAGS+="-Dssize_t=SSIZE_T"
+      fi
     make.exe && make.exe test;
-    fi
     fi;
 
 git: