Improve Travis CI build settings

Use a sandbox and turn warnings into errors