Adding travis configuration.
Fixes bug of autocomplete/shelf not working for optional elements.