Added before-build to travis.yml