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

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