Skip to content

Commit

Permalink
Print when starting/finishing the sqlite updates and when the caching…
Browse files Browse the repository at this point in the history
… step starts.
  • Loading branch information
Pentarctagon committed Sep 2, 2020
1 parent cd34e2d commit 10c60fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -67,6 +67,9 @@ install:
script:
- ./utils/travis/steps/script.sh

before_cache:
- echo "Starting caching..."

notifications:
email: false
irc:
Expand Down
2 changes: 2 additions & 0 deletions utils/travis/steps/script.sh
Expand Up @@ -53,11 +53,13 @@ elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
fi
fi

echo "Starting sqlite updates..."
if [ "$BUILD_RET" != "0" ]; then
sqlite3 "projectfiles/$IMAGE/$CFG/filehashes.sqlite" "update FILES set MD5 = OLD_MD5, OLD_MD5 = '-' where OLD_MD5 != '-'"
else
sqlite3 "projectfiles/$IMAGE/$CFG/filehashes.sqlite" "update FILES set OLD_MD5 = '-' where OLD_MD5 != '-'"
fi
echo "Finished sqlite updates!"

if [ "$CFG" == "Release" ] && [ "$BUILD_RET" == "0" ]; then
if (( SECONDS > 60*30 )); then
Expand Down

0 comments on commit 10c60fd

Please sign in to comment.