Better usage of the setup_view function
Add .travis.yml for CI