Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2014-01-07 代码游戏 之 Travis #23

Open
chenkan opened this issue Jan 6, 2014 · 2 comments
Open

2014-01-07 代码游戏 之 Travis #23

chenkan opened this issue Jan 6, 2014 · 2 comments

Comments

@chenkan
Copy link
Owner

chenkan commented Jan 6, 2014

背景
持续集成越来越成为主流的开发模式,要开展持续集成必须有类似于Jenkins这样的CI服务器

Travis是一个云端的,服务于开源社区的,当前主流的持续集成服务,支持N种语言及环境
今天我们就来尝试玩一下Travis

步骤

  1. 创建一个github账号,并使用这个账号登陆travis
  2. 创建一个github工程,并在里面编写一些简单的单元测试
    2.1 在2014年,我墙裂推荐大家多玩玩Ruby``Python``Node.js
    2.2 如果你还是坚持使用Java的话,必须使用maven
  3. 参照travis的使用说明一步步配置你的github工程及相应的travis
  4. 进行一次push,在travis上面应该可以看到自动触发的单元测试构建
  5. 修改你github工程的README.md,实现如下效果
    image

其它
我会现场进行一些演示

@jinkerry
Copy link
Collaborator

jinkerry commented Jan 9, 2014

python版:https://github.com/jinkerry/unit_test

@chenkan
Copy link
Owner Author

chenkan commented Jan 9, 2014

Java版:https://github.com/chenkan/TestNgShow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants