Change travis config to use new command structure

Fixes #331