Travis CI 简介

什么是Travis CI
Travis CI 是目前新兴的开源持续集成构建服务。
构建并自动提交代码到 Github
1.填加私钥
执行如下命令
travis encrypt-file ~/.ssh/id_rsa –add
实际使用中很有可能会报错
Can’t figure out GitHub repo name. Ensure you’re in the repo directory, or specify the repo name via the -r option (e.g. travis <command> -r <owner>/<repo>)
这个的意思是找不到项目,需要指定,可以这么操作
travis encrypt-file -r actors315/actors315.github.io ~/.ssh/id_rsa –add

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理