diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh index 7231ecb6250..f8759716d6e 100755 --- a/tools/travis/before_install.sh +++ b/tools/travis/before_install.sh @@ -49,9 +49,18 @@ javac -version echo -e "\nMaven Version: " mvn -v +echo -e "\nDisk Status: " +df + +echo -e "\nMemory Status: " +free + echo -e "\nCheck Git status" git status +echo -e "\nCleaning up stale files in /tmp: " +sudo find /tmp -type f -mtime +2 | grep -v "`sudo lsof | grep /tmp |awk '{print $9}'|sed -e '1 d' |sort |uniq | tr \\n \|`" | xargs sudo rm -vf + echo -e "\nUpdating the system: " sudo apt-get -q -y update > /dev/null