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

Travis CIの自動テストをつける #36

Open
yumetodo opened this issue Jan 23, 2016 · 4 comments
Open

Travis CIの自動テストをつける #36

yumetodo opened this issue Jan 23, 2016 · 4 comments

Comments

@yumetodo
Copy link
Collaborator

以下を提案する
#1

毎回手動でテストするのはだるいので自動化を目指す

なぜTravis CIか

  • GitHubで気軽に行うにはTravis CIが一番簡単そう
  • パブリックなレポジトリを使う限りではフリー

なぜ Jenkins CI ではないのか

  • サーバー建てないといけない
  • サーバーの維持費どこから出るの?
  • サーバー管理の知識が必要
  • Jenkins職人が必要

なぜ CircleCI ではないのか

  • どこにそんなお金あるの?

http://stormcat.hatenablog.com/entry/2015/07/02/150000
http://qiita.com/kazuhirokomoda/items/9d091a153dda0965c6a7
http://rcmdnk.github.io/blog/2014/09/08/computer-github-travis/

大まかな実現までの流れ

  1. makefile作成と対応するコンパイラについて #32 でやっているmakefileをちゃんと完成させる
  2. Ubuntu 64bitのmingwでcross compileできるようにする
  3. テストケースを書く
  4. (cmakeを書く)
  5. Travis CIの立ち上げ
  6. Travis CIにmingwを入れるため・・・だけではないがymlを書く
  7. READMEにバッジを貼ってニヤニヤする

http://srz-zumix.blogspot.jp/2015/02/travis-ci-mingw.html
https://gist.github.com/spiegel-im-spiegel/2e9ebb6e5d7a8bf20f8d

課題

  • 少なくとも私 @yumetodo はCl系はやったこと無い
  • 少なくとも私 @yumetodo はcross compileしたこと無い
  • 少なくとも私 @yumetodo はテストケース書いたことがない
@soukouki
Copy link
Contributor

soukouki commented May 9, 2016

自動テストがあると環境作りの際に参考になるのでありがたいかもです。

@yumetodo
Copy link
Collaborator Author

yumetodo commented May 9, 2016

appveyorのほうがなんか今回の場合やりやすそうなんですよね・・・。DxLibってどう考えてもLinuxでビルドできんだろ・・・。DirectXってCross-Compileから使えるのか?
DxLibに依存しない部分はすぐTravis-Clでテストかけられるんですが。

@yumetodo
Copy link
Collaborator Author

yumetodo commented May 9, 2016

いや、まあLinuxでもできることはできるのか
http://stackoverflow.com/questions/3813115/cross-compiling-direct3d-on-linux-with-mingw

@yumetodo
Copy link
Collaborator Author

AppVeyorはどうも不安定なので、Travis CIでやりたい。DxLib部分をCIにかけるためのビルドを自動化しないといけないので

https://github.com/yumetodo/DxLib

を作り始めた。がtremorのcmake化をできればしたいところで辛い

yumetodo/DxLib#1

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