Also, I'm not sure if you noticed this.  This test script requires msfcli to be modified in order to run as a background job and then exit automatically. For that reason I don't think you can throw msfcli in travis-ci for fully automated testing.