ci: Embedding CI build and test running script

This commit also unifies build and test scripts for Jenkins and Travis CI

Change-Id: I6ee99c51032769629eb2c62b40608033fa9cac78