什么是Travis CITravis 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