scripts: Fixing some bugs and hello Travis CI

Signed-off-by: Simarpreet Singh <simar@linux.com>