Add keygen to before_script in travis.yml