Small optimizations and Travis setup