Update Travis script to handle migrations, fixes #32