Преглед на файлове

enhancements of automated coverity checks

Stasik0 преди 10 години
родител
ревизия
333208f662
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 3 1
      coverity.sh
  2. 1 1
      .travis.yml

+ 3 - 1
coverity.sh

@@ -5,7 +5,7 @@
 # of the day to the coverity scan service
 #
 
-COMMITS=`git log --since=yesterday | grep commit | wc -l`
+COMMITS=`git log --since=today.midnight | grep commit | wc -l`
 
 if [[ "$COMMITS" == "1" ]]; then
     #first commit a day - push changes to branch coverity_scan
@@ -21,4 +21,6 @@ if [[ "$COMMITS" == "1" ]]; then
     git push https://$GITAUTH@github.com/acplt/open62541
     cd ..
     rm -rf open62541
+else
+    echo "Not the first commit of the day - no push to coverity required"
 fi

+ 1 - 1
.travis.yml

@@ -42,4 +42,4 @@ after_success:
    - cd ..
    - cd ..
    - rm -rf open62541
-   - ./coverity.sh
+   - ./.coverity.sh