Add travis test with optimizations for better code warnings