Updated travis.yml and build to work with travis