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.yml : do not keep history in gh-pages #1107

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

k-okada
Copy link
Contributor

@k-okada k-okada commented Mar 8, 2017

最近git clone がえらく重いなぁ、と思っていたんですが、gh-pagesのヒストリが原因なきがしてきました.

ということで、以下をみて、ghpagesはヒストリを残さないようにしてみました.どうでしょうか.
http:https://stackoverflow.com/questions/9683279/make-the-current-commit-the-only-initial-commit-in-a-git-repository

@k-okada
Copy link
Contributor Author

k-okada commented Mar 8, 2017

Refer to this link for build results (access rights to CI server needed):
http:https://jenkins.jsk.imi.i.u-tokyo.ac.jp:8080/job/hrpsys-qnx/2796/
Test PASSed.

@snozawa
Copy link
Contributor

snozawa commented Mar 8, 2017

LGTM.
restartしたらtravisも通ったようです。

@fkanehiro fkanehiro merged commit 03da8dd into fkanehiro:master Mar 8, 2017
@snozawa
Copy link
Contributor

snozawa commented Mar 8, 2017

mergeされたあとのtravis
https://travis-ci.org/fkanehiro/hrpsys-base/builds/208858144
で、えらってるようでした。
https://s3.amazonaws.com/archive.travis-ci.org/jobs/208858145/log.txt
などをみると、途中まではうまくいってて、最後の最後のgit pushで

++git push --quiet https://[email protected]/fkanehiro/hrpsys-base.git gh-pages
To https://[email protected]/fkanehiro/hrpsys-base.git
 ! [rejected]        gh-pages -> gh-pages (non-fast-forward)
error: failed to push some refs to 'https://[email protected]/fkanehiro/hrpsys-base.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

とエラってました。
historyが変わってnon-fast-forwardになるので、git push -f とかなんでしょうか。

k-okada added a commit to k-okada/hrpsys-base that referenced this pull request Mar 8, 2017
@k-okada k-okada deleted the remove_history_in_ghpages branch March 8, 2017 06:28
@k-okada
Copy link
Contributor Author

k-okada commented Mar 8, 2017

すいません.そうでした..
#1108
で今度こそ直したつもりです.

@snozawa
Copy link
Contributor

snozawa commented Mar 8, 2017

早速のご対応、ありがとうございます。

fkanehiro added a commit that referenced this pull request Mar 8, 2017
snozawa pushed a commit to snozawa/hrpsys-base that referenced this pull request Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants