Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions 11 tools/travis/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -61,6 +70,8 @@ sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password passwor
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password your_password'
sudo apt-get -q -y install mysql-server > /dev/null

#Restart mysql if running to release deleted file locks on filesystem, if aready running
sudo status mysql | grep start && sudo stop mysql
sudo start mysql

echo -e "\nInstalling Development tools: "
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.