Revised code for travis.yml and testing prod deployment.

Closes #9.