]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Coverall.
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 4 Jul 2019 23:04:45 +0000 (01:04 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 4 Jul 2019 23:04:45 +0000 (01:04 +0200)
.travis.yml

index 5127f3dee3e8c8706ce4fa3a8f25a7446994a388..eca164dc6209d4a24df58bc1755ac643af37ff38 100644 (file)
@@ -26,8 +26,6 @@ env:
   - GWION_TEST_DIR=tmp_test
   - PREFIX=$TRAVIS_BUILD_DIR
 #  - secure: qC1iGXWyzrJrn6pIxZup0CYThjZC44NuEStU50wx3Jdi1owYkkQ/eXWw55TvhswmnnO7l+wQsN2RnP6zsjJTq6wuNjAyG8w89rgCevbCpOu5vZAWF0+/c5H7qDG+NS9aumfd53QPC55ZcjjjM+5j71+J8XXoj+n4ygR5dVtTk/xF4sTBBwyaUkG9r/Hoocd3gtd3Up/ZlDYQd5/tCrfiFcWvAs4197LPfCDIW7k/tnXEmKV3le/yTXU0/ZByzjGQkhhpqvMqh3BTQrKExxeBt8utqnwLVwUAIWnACUIJz8bjyWWX++DwP1cFExAUBWB21A4i/qpXAieu7whcwE/hPkrVJjqEedbXNonyFHAwwOVhPIckk2OVzD6tCNp8IJZkccq8ONbqM/WpPAKip//13wttDvsDRgva2nkS7LZ6n/V1MHye6OgZD3778bty6YGOSkyEiT9ryZGaDrGbNbdXcAyCUmbd8a/N1RnQC+TSkvRBAhVL50dgSHNYNXZNn02hqiD/QNDqgdjOQ/jkgROQxMj8EnsVDPTOWIYkKpiTawQF9WqCPdQLl7+P5+uuUhfeMiyohu90yDOl7BXxhS8FJt/YUCMBLGS3OsmnVpA5XoG2aBZKDz1gXedNcQJ1JAEB0XO5mSJn4jXbDtI9QMZu/jNxm1TmyJaItv1l0ln3zn0=
-  - USE_MEMCHECK=1
-  - USE_COVERAGE=1
   matrix:
   - USE_DOUBLE=1
   - USE_DOUBLE=0
@@ -46,7 +44,6 @@ install:
         pip install --user --upgrade pip;
         pip install --user urllib3[secure];
         pip install --user cpp-coveralls;
-        export USE_COVERAGE=1;
         fi;
 #  - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1  ]; then gem install coveralls-lcov; fi;
   - if [ $(uname) != "Linux" ] && [ $(uname) != "Darwin" ]; then 
@@ -67,8 +64,11 @@ before_script:
   - mkdir -p "$GWION_ADD_DIR" "$GWION_TEST_DIR"
 
 script:
-  - if [ $(uname) = "Linux" ] || [ $(uname) = "Darwin" ];
-    then make && make test;
+  - if [ $(uname) = "Linux" ] || [ $(uname) = "Darwin" ]; then
+      if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1  ];
+      then USE_COVERAGE=1 make && make test;
+      else make && make test;
+      fi
     else {
       if [ "$CC" = "clang" ];
       then export CFLAGS+=" -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dssize_t=SSIZE_T";