moving build commands from Makefile to travis yml and leveraging travis' build matrix support