Modified travis build file to make release builds, and to run unit test in package directory